test.benchmark

Alioth regex-dna

Details

  • Type: Enhancement Enhancement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test

Description

Activity

Hide
Paul Michael Bauer added a comment -

re-worked A. Fingerhut's implementation to use nio and a hand-rolled reduce loop for code replacement.
Result is a ~2x speedup and 92% as fast as the fastest Java version.

https://github.com/clojure/test.benchmark/blob/0977c41e430b85f452f0064aad24562e9be48fff/src/main/clojure/alioth/regexdna.clj

Show
Paul Michael Bauer added a comment - re-worked A. Fingerhut's implementation to use nio and a hand-rolled reduce loop for code replacement. Result is a ~2x speedup and 92% as fast as the fastest Java version. https://github.com/clojure/test.benchmark/blob/0977c41e430b85f452f0064aad24562e9be48fff/src/main/clojure/alioth/regexdna.clj
Paul Michael Bauer made changes -
Field Original Value New Value
Patch Code and Test [ 10002 ]
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: