summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bumped version to 1.1.0v1.1.0Jay Hutchinson2018-05-081-1/+1
|
* Added pop, popitem, and setdefault methods to lrucache class.Jay Hutchinson2018-05-061-0/+30
|
* Improved update() method of lrucache.Jay Hutchinson2018-05-061-6/+22
|
* Added len() method to WriteBackCacheManager.Jay Hutchinson2018-05-062-0/+11
|
* Simplified logic of a couple __getitem__ implementations.Jay Hutchinson2018-05-061-12/+4
|
* Cleaned up some of the comments and whitespace.Jay Hutchinson2018-05-061-47/+20
|
* Merge pull request #22 from btimby/masterjlhutch2017-07-191-0/+5
|\ | | | | Add `update()` method to simulate `dict`.
| * Undo whitespace changes.Ben Timby2017-07-171-0/+2
| |
| * Added update() method.Ben Timby2017-07-171-2/+5
|/
* Merge pull request #20 from pp-qq/patch-1jlhutch2017-03-221-3/+3
|\ | | | | refactor(lrucache): improve lrucache.get()
| * refactor(lrucache): improve lrucache.get()pp-qq2017-03-211-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.9Jay Hutchinson2015-03-242-3/+17
|
* Small change to README.Jay Hutchinson2015-03-181-1/+1
|
* Small change to README.Jay Hutchinson2015-03-181-1/+1
|
* Moved version to 1.0.8v1.0.8Jay Hutchinson2015-03-181-2/+2
|
* Added documentation for FunctionCacheManager.Jay Hutchinson2015-03-181-9/+39
|
* lrudecorator now updates the metadata to look more like the wrapped function.Jay Hutchinson2015-03-181-1/+3
| | | | Fixes #10
* Refactored lrudecorator using FunctionCacheManager.Jay Hutchinson2015-03-181-14/+2
|
* Added clear() and size() to FunctionCacheManager.Jay Hutchinson2015-03-181-0/+6
|
* Added FunctionCacheManager.Jay Hutchinson2015-03-171-2/+15
|
* Version 1.0.7v1.0.7Jay Hutchinson2015-03-172-2/+2
|
* Merge pull request #12 from iho/patch-1jlhutch2015-03-172-0/+3
|\ | | | | Make cache available from outer space.
| * Update README.txtIhor Gorobets2015-03-171-0/+2
| |
| * Make cache available from outer space.Ihor Gorobets2015-03-151-0/+1
|/
* Merge pull request #8 from jbowes/masterjlhutch2014-10-141-1/+1
|\ | | | | Trivial comment typo fix
| * Trivial comment typo fixJames Bowes2014-10-141-1/+1
|/
* Added kwargs support for lrudecorator and a few small fixes.v1.0.6Jay Hutchinson2014-06-123-9/+27
|
* Merge pull request #6 from dobesv/patch-1jlhutch2014-04-181-1/+4
|\ | | | | Add "get" method to match dict API.
| * Add "get" method to match dict API.dobesv2014-04-171-1/+4
|/
* Fixed bug in test.py. Thanks to Marc Abramowitz for finding & fixing it.Jay Hutchinson2012-07-041-1/+1
|
* Tweaked two lines in pylru.pyJay Hutchinson2011-07-251-2/+3
|
* Added code to test resizing a cache.Jay Hutchinson2011-07-251-0/+21
|
* Fixed the formatting of comments.Jay Hutchinson2011-07-252-103/+105
|
* A key can now be None.v1.0.5Jay Hutchinson2011-07-254-55/+50
|
* Bump version to 1.0.4v1.0.4Jay Hutchinson2011-07-232-4/+4
|
* More Readme improvements.Jay Hutchinson2011-07-231-7/+20
|
* More work on Readme.Jay Hutchinson2011-07-231-35/+29
|
* Started work on a better Readme.Jay Hutchinson2011-07-221-18/+123
|
* Improved test code.Jay Hutchinson2011-07-221-9/+45
|
* Finished refactoring.Jay Hutchinson2011-07-211-18/+19
|
* Factored write-though/write-back behavior into different classes.Jay Hutchinson2011-07-211-104/+135
|
* A little code clean up.Jay Hutchinson2011-07-201-32/+72
|
* Added keys(), values(), items(), and flush() to lruwrap class.Jay Hutchinson2011-07-151-1/+37
|
* Bumped release number.v1.0.3Jay Hutchinson2011-07-151-1/+1
|
* Fixed two bugs in lruwrap class.Jay Hutchinson2011-07-151-1/+8
|
* Cache methods keys(), values(), and items() now return iterators.Jay Hutchinson2011-07-103-54/+51
| | | | Added __iter__ method.
* Incremented versionv1.0.2Juan Batiz-Benet2011-07-101-1/+1
|
* Added keys, values, and items to allow iterationJuan Batiz-Benet2011-07-103-1/+58
|
* removed stray tabs and stripped excess whitespace in pylru.py, test.py, andJuan Batiz-Benet2011-07-103-137/+139
| | | | README.txt
* Updated version to 1.0.1 in setup.pyv1.0.1Jay Hutchinson2010-10-101-1/+1
|