Skip to content
Commits on Apr 19, 2016
  1. .travis.yml: Add JRuby 9.0.

    committed Apr 19, 2016
  2. lib/lingo/attendee/sequencer.rb (find_seq): Reduced runtime complexit…

    committed Apr 19, 2016
    …y (Regex support).
    
    BENCHMARKS (as reported by `time(1)`, Memory=`%M`, Runtime=`%e`, N=4):
    
    * `test_many_permutations_simple_regex?`:
    
      * Memory +8% (39442 +/- 88 vs. 42592 +/- 91)
      * Runtime -99% (124.85 +/- 0.05 vs. 0.83 +/- 0.00)
    
    * `test_many_permutations_complex_regex`:
    
      * Memory -0.3% (39549 +/- 190 vs. 39431 +/- 132)
      * Runtime +0.7% (62.55 +/- 0.44 vs. 62.96 +/- 0.44)
    
    * `TestAttendeeSequencer` w/o `test_many_permutations_{simple,complex}_regex*`:
    
      * Memory +0.2% (41857 +/- 128 vs. 41960 +/- 29)
      * Runtime -0.3% (0.88 +/- 0.01 vs. 0.87 +/- 0.00)
    
    NOTES:
    
    * Only "simple" regular expressions covered (fixed-length, alternations).
    
    Ref: 9a87654
  3. lib/lingo/attendee/sequencer.rb: Renamed `CLS` to `CLASS_RE` and rest…

    committed Apr 19, 2016
    …ricted to lowercase ASCII letters.
  4. lib/lingo/attendee/sequencer.rb (find_seq): Reduced runtime complexity.

    committed Apr 14, 2016
    BENCHMARKS (as reported by `time(1)`, Memory=`%M`, Runtime=`%e`, N=4):
    
    * `test_many_permutations`:
    
      * Memory +4% (39362 +/- 111 vs. 41038 +/- 88)
      * Runtime -98% (44.62 +/- 0.22 vs. 0.80 +/- 0.01)
    
    * `test_many_permutations_regex`:
    
      * Memory +0.1% (39494 +/- 182 vs. 39539 +/- 109)
      * Runtime +18% (53.04 +/- 0.54 vs. 62.62 +/- 0.40)
    
    * `TestAttendeeSequencer` w/o `test_many_permutations{,_regex}`:
    
      * Memory -0.2% (40604 +/- 1009 vs. 40503 +/- 132)
      * Runtime -0.3% (0.89 +/- 0.01 vs. 0.89 +/- 0.00)
    
    NOTES:
    
    * TODO: Regex support.
    * Changed the order sequences are inserted into the stream.
    
    Ref: 34c0b8e
  5. lib/lingo/attendee/sequencer.rb (find_seq): Reduced memory usage.

    committed Apr 13, 2016
    BENCHMARKS (as reported by `time(1)`, Memory=`%M`, Runtime=`%e`, N=4):
    
    * `test_many_permutations`:
    
      * Memory -97% (1290109 +/- 50011 vs. 39406 +/- 122)
      * Runtime -30% (64.08 +/- 0.47 vs. 44.77 +/- 0.34)
    
    * `test_many_permutations_regex`:
    
      * Memory -97% (1457381 +/- 21244 vs. 39472 +/- 208)
      * Runtime -28% (73.08 +/- 1.70 vs. 52.48 +/- 0.23)
    
    * `TestAttendeeSequencer` w/o `test_many_permutations{,_regex}`:
    
      * Memory -0.7% (40300 +/- 48 vs. 40037 +/- 144)
      * Runtime -0.3% (0.88 +/- 0.01 vs. 0.88 +/- 0.00)
    
    NOTES:
    
    * Patterns are guaranteed to be unique due to array intersection in `process_buffer`.
    * Result uniqueness constraint has been weakened to projection instead of pattern + token + projection.
Commits on Apr 14, 2016
Commits on Apr 5, 2016
  1. lib/lingo/database.rb (initialize): Extract `backend_by_ext` and `fin…

    committed Apr 5, 2016
    …d_backend` class methods.
Commits on Mar 23, 2016
Commits on Mar 1, 2016
Commits on Feb 26, 2016
Commits on Feb 25, 2016
Commits on Feb 2, 2016
  1. lib/lingo/filter/: Yield individual lines.

    committed Feb 2, 2016
    Related to #15.
  2. lib/lingo/attendee/text_reader.rb (filter_{pdf,xml,html}): Promoted t…

    committed Feb 2, 2016
    …o Lingo::Filter::{PDF,XML,HTML}.
Commits on Nov 12, 2015
Commits on Aug 7, 2015
  1. v1.8.7

    committed Aug 7, 2015
Commits on Jul 27, 2015
  1. README: Added JRuby note.

    committed Jul 24, 2015
  2. lib/lingo/database.rb: Refactored backend selection.

    committed Jul 24, 2015
    LINGO_BACKEND will be enforced if specified.
Commits on Jul 23, 2015
  1. bench/: Dropped.

    committed Jul 23, 2015
  2. README: Updated links.

    committed Jul 21, 2015
  3. lib/lingo/ctl/files.rb (copy): Ignore local directory for source.

    committed Jul 21, 2015
    Would pick up local file if it exists (and then fail to copy: "same file").
  4. lib/lingo/text_utils.rb (open_file): Handle BOM.

    committed Jul 21, 2015
    TextReader#file_type can't simply `rewind' anymore; use ruby-filemagic >= 0.6.4 instead.
Something went wrong with that request. Please try again.