Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bumped version to 1.1.0v1.1.0 | Jay Hutchinson | 2018-05-08 | 1 | -1/+1 |
| | |||||
* | Added pop, popitem, and setdefault methods to lrucache class. | Jay Hutchinson | 2018-05-06 | 1 | -0/+30 |
| | |||||
* | Improved update() method of lrucache. | Jay Hutchinson | 2018-05-06 | 1 | -6/+22 |
| | |||||
* | Added len() method to WriteBackCacheManager. | Jay Hutchinson | 2018-05-06 | 2 | -0/+11 |
| | |||||
* | Simplified logic of a couple __getitem__ implementations. | Jay Hutchinson | 2018-05-06 | 1 | -12/+4 |
| | |||||
* | Cleaned up some of the comments and whitespace. | Jay Hutchinson | 2018-05-06 | 1 | -47/+20 |
| | |||||
* | Merge pull request #22 from btimby/master | jlhutch | 2017-07-19 | 1 | -0/+5 |
|\ | | | | | Add `update()` method to simulate `dict`. | ||||
| * | Undo whitespace changes. | Ben Timby | 2017-07-17 | 1 | -0/+2 |
| | | |||||
| * | Added update() method. | Ben Timby | 2017-07-17 | 1 | -2/+5 |
|/ | |||||
* | Merge pull request #20 from pp-qq/patch-1 | jlhutch | 2017-03-22 | 1 | -3/+3 |
|\ | | | | | refactor(lrucache): improve lrucache.get() | ||||
| * | refactor(lrucache): improve lrucache.get() | pp-qq | 2017-03-21 | 1 | -3/+3 |
|/ | | | | | | | | ```sh >>> timeit.repeat('cache.old_get(12138)', 'import pylru; cache = pylru.lrucache(3)', repeat=7) [1.6048369407653809, 1.5690279006958008, 1.5801060199737549, 1.8120369911193848, 1.5470390319824219, 1.592298984527588, 1.5710852146148682] >>> timeit.repeat('cache.get(12138)', 'import pylru; cache = pylru.lrucache(3)', repeat=7) [0.24112796783447266, 0.23629999160766602, 0.23735690116882324, 0.23392081260681152, 0.23485207557678223, 0.23575401306152344, 0.24010705947875977] ``` | ||||
* | Fixes #13, a bug in lrudecorator.v1.0.9 | Jay Hutchinson | 2015-03-24 | 2 | -3/+17 |
| | |||||
* | Small change to README. | Jay Hutchinson | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | Small change to README. | Jay Hutchinson | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | Moved version to 1.0.8v1.0.8 | Jay Hutchinson | 2015-03-18 | 1 | -2/+2 |
| | |||||
* | Added documentation for FunctionCacheManager. | Jay Hutchinson | 2015-03-18 | 1 | -9/+39 |
| | |||||
* | lrudecorator now updates the metadata to look more like the wrapped function. | Jay Hutchinson | 2015-03-18 | 1 | -1/+3 |
| | | | | Fixes #10 | ||||
* | Refactored lrudecorator using FunctionCacheManager. | Jay Hutchinson | 2015-03-18 | 1 | -14/+2 |
| | |||||
* | Added clear() and size() to FunctionCacheManager. | Jay Hutchinson | 2015-03-18 | 1 | -0/+6 |
| | |||||
* | Added FunctionCacheManager. | Jay Hutchinson | 2015-03-17 | 1 | -2/+15 |
| | |||||
* | Version 1.0.7v1.0.7 | Jay Hutchinson | 2015-03-17 | 2 | -2/+2 |
| | |||||
* | Merge pull request #12 from iho/patch-1 | jlhutch | 2015-03-17 | 2 | -0/+3 |
|\ | | | | | Make cache available from outer space. | ||||
| * | Update README.txt | Ihor Gorobets | 2015-03-17 | 1 | -0/+2 |
| | | |||||
| * | Make cache available from outer space. | Ihor Gorobets | 2015-03-15 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #8 from jbowes/master | jlhutch | 2014-10-14 | 1 | -1/+1 |
|\ | | | | | Trivial comment typo fix | ||||
| * | Trivial comment typo fix | James Bowes | 2014-10-14 | 1 | -1/+1 |
|/ | |||||
* | Added kwargs support for lrudecorator and a few small fixes.v1.0.6 | Jay Hutchinson | 2014-06-12 | 3 | -9/+27 |
| | |||||
* | Merge pull request #6 from dobesv/patch-1 | jlhutch | 2014-04-18 | 1 | -1/+4 |
|\ | | | | | Add "get" method to match dict API. | ||||
| * | Add "get" method to match dict API. | dobesv | 2014-04-17 | 1 | -1/+4 |
|/ | |||||
* | Fixed bug in test.py. Thanks to Marc Abramowitz for finding & fixing it. | Jay Hutchinson | 2012-07-04 | 1 | -1/+1 |
| | |||||
* | Tweaked two lines in pylru.py | Jay Hutchinson | 2011-07-25 | 1 | -2/+3 |
| | |||||
* | Added code to test resizing a cache. | Jay Hutchinson | 2011-07-25 | 1 | -0/+21 |
| | |||||
* | Fixed the formatting of comments. | Jay Hutchinson | 2011-07-25 | 2 | -103/+105 |
| | |||||
* | A key can now be None.v1.0.5 | Jay Hutchinson | 2011-07-25 | 4 | -55/+50 |
| | |||||
* | Bump version to 1.0.4v1.0.4 | Jay Hutchinson | 2011-07-23 | 2 | -4/+4 |
| | |||||
* | More Readme improvements. | Jay Hutchinson | 2011-07-23 | 1 | -7/+20 |
| | |||||
* | More work on Readme. | Jay Hutchinson | 2011-07-23 | 1 | -35/+29 |
| | |||||
* | Started work on a better Readme. | Jay Hutchinson | 2011-07-22 | 1 | -18/+123 |
| | |||||
* | Improved test code. | Jay Hutchinson | 2011-07-22 | 1 | -9/+45 |
| | |||||
* | Finished refactoring. | Jay Hutchinson | 2011-07-21 | 1 | -18/+19 |
| | |||||
* | Factored write-though/write-back behavior into different classes. | Jay Hutchinson | 2011-07-21 | 1 | -104/+135 |
| | |||||
* | A little code clean up. | Jay Hutchinson | 2011-07-20 | 1 | -32/+72 |
| | |||||
* | Added keys(), values(), items(), and flush() to lruwrap class. | Jay Hutchinson | 2011-07-15 | 1 | -1/+37 |
| | |||||
* | Bumped release number.v1.0.3 | Jay Hutchinson | 2011-07-15 | 1 | -1/+1 |
| | |||||
* | Fixed two bugs in lruwrap class. | Jay Hutchinson | 2011-07-15 | 1 | -1/+8 |
| | |||||
* | Cache methods keys(), values(), and items() now return iterators. | Jay Hutchinson | 2011-07-10 | 3 | -54/+51 |
| | | | | Added __iter__ method. | ||||
* | Incremented versionv1.0.2 | Juan Batiz-Benet | 2011-07-10 | 1 | -1/+1 |
| | |||||
* | Added keys, values, and items to allow iteration | Juan Batiz-Benet | 2011-07-10 | 3 | -1/+58 |
| | |||||
* | removed stray tabs and stripped excess whitespace in pylru.py, test.py, and | Juan Batiz-Benet | 2011-07-10 | 3 | -137/+139 |
| | | | | README.txt | ||||
* | Updated version to 1.0.1 in setup.pyv1.0.1 | Jay Hutchinson | 2010-10-10 | 1 | -1/+1 |
| |