Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Mar 26, 2015
  1. Added square cash

Commits on Feb 15, 2015
  1. Subdued plea for help

Commits on Aug 19, 2014
  1. Bumped version to 1.3.0

    Closes #8
Commits on May 20, 2014
  1. Updated help section in readme

Commits on May 19, 2014
Commits on Apr 15, 2014
  1. Merge pull request #7 from Rich-Harris/master

    Export LiquidMetal as AMD or node module, if applicable
  2. @Rich-Harris

    add package.json file

    Rich-Harris authored
  3. @Rich-Harris
Commits on Mar 30, 2014
  1. Added bower.json

Commits on May 20, 2013
  1. Added donation info to readme

Commits on Apr 5, 2013
Commits on Feb 23, 2013
Commits on Apr 22, 2012
  1. Bumped version to 1.2.1

Commits on Apr 21, 2012
  1. Merge branch 'ie7'

    * ie7:
      Fixed IE7 issues with string and array indexOf/charAt issues
      Fixed test suite so that it runs in IE7
  2. Improved code readability

Commits on Mar 28, 2012
  1. Bumped version to 1.2

Commits on Mar 5, 2012
  1. @shelhamer
  2. @shelhamer

    Best match scoring

    shelhamer authored
    - match every instance of the abbrevation letters appearing in
      the correct order
    - score all instances according to matching rules
    - return maximum score match
    - add test of maximum score besting first score
    Matching is done recursively without memoization, resulting in an order of
    magnitude hit in performance measured in ops/sec.
    TODO: implement and evaluate potential speedups
    - calculate the score directly rather than maintain the score array
      (if the array is not needed for a particular application)
    - convert recursion to iteration
    - memoization: store solutions to subproblems (highest scoring choices
      of character matches over a substring) instead of re-solving them
  3. @shelhamer

    Record last match's score & array for efficiency

    shelhamer authored
    - add lastScore, lastScoreArray member vars to record results of last match
    - update tests to access lastScoreArray rather than recomputing match
    This anticipates the implementation of a more expensive scoring algorithm
    that returns the maximum score match, rather than the first match.
  4. @shelhamer

    cleanup: add comments, rename vars, etc.

    shelhamer authored
    - outline major steps with comments
    - rename lower -> search to reflect its purpose as search string
    - rename abbreviation -> abbrev (it felt wrong not to)
Commits on Mar 2, 2012
  1. Bumped version to 1.1

  2. @shelhamer

    Add word separators config var, add hyphen + underscore separators

    shelhamer authored
    - add WORD_SEPARATORS config var: an array of characters to treat as
      word separators
    - refactor isNewWord() to check for membership in WORD_SEPARATORS array
    - add tests to cover new separator chars
Commits on Dec 18, 2011
  1. Bumped version to 1.0

  2. @ratbeard

    Made `from` and `to` required params on `fillArray`

    ratbeard authored committed
    After returning false on no match case, only one spot where `to` was being
    optionally used.  Simplifies logic of fillArray, and results in a noticable
    performance speedup.
  3. @ratbeard

    wrap body function in paranthesis, ala jquery, to make it clear liqui…

    ratbeard authored committed
    …dmetal is not a constructor function
  4. @ratbeard

    Returned false instead of array of 0's in case of miss

    ratbeard authored committed
    This speads up single letter abbreviation misses by up to 10x, and 4 letter
    misses by ~2x.
    Updated a few `if (x == 0)` to use `===`, just to be safe.
  5. Moved test suite to test/ dir

  6. @ratbeard

    Added some basic benchmarks

    ratbeard authored committed
  7. Cleaned up gitignore

  8. Upped jquery to 1.7.1

Something went wrong with that request. Please try again.