Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 21, 2013
  1. v2.5.0

    authored
  2. minor style fixups for DRYness

    authored
  3. move methods onto prototype

    authored
  4. move closure lru to this._lru

    authored
  5. move closure mru to this._mru

    authored
  6. move closure max to this._max

    authored
  7. pass self to shiftLU function

    authored
  8. pass self to del function

    authored
  9. pass self to trim() function

    authored
  10. pass self to use() function

    authored
  11. pass self to get function

    authored
  12. v2.4.0

    authored
  13. @n4kz

    Use null-prototype'd objects in reset()

    n4kz authored committed
  14. @mcavage
Commits on Aug 19, 2013
  1. v2.3.1

    authored
Commits on Aug 5, 2013
  1. @ashleybrener
Commits on Mar 26, 2013
  1. v2.3.0

    authored
  2. add peek(key) function

    authored
    Basically the same as get(key), but without updating the
    recently-used-ness.
    
    Close #19
    Close #20
  3. v2.2.4

    authored
Commits on Mar 25, 2013
  1. v2.2.3

    authored
  2. Replace O(n) iteration in trim()

    authored
    Instead of doing a blind `for (k in lruList)`, keep track of the actual
    least-recently-used value in that list, and walk only as much as
    necessary.
    
    Also, be savvy about deleting an item, and updating the lru index if
    that hit is the least recently used value.
Commits on Jan 15, 2013
  1. @spiffytech

    Updated README to accurately describe the 'max' property

    spiffytech authored committed
  2. add weak as devDependency

    authored
Something went wrong with that request. Please try again.