| Fri, 08 Mar 2013 23:01:07 -0800 |
Raymond Hettinger |
Sync-up with 3.4 to make maintenance easier.
3.3
|
| Fri, 08 Mar 2013 21:11:55 -0700 |
Raymond Hettinger |
Improve comments and variable names.
3.3
|
| Mon, 04 Mar 2013 04:19:09 -0500 |
Raymond Hettinger |
Another nit.
3.3
|
| Mon, 04 Mar 2013 03:34:09 -0500 |
Raymond Hettinger |
Fix other re-entrancy nits for the lru_cache.
3.3
|
| Fri, 01 Mar 2013 23:20:13 -0800 |
Raymond Hettinger |
Remove dependency on dummy_threading (to solve a bootstrap problem).
3.3
|
| Fri, 01 Mar 2013 03:47:57 -0800 |
Raymond Hettinger |
Don't deadlock on a reentrant call.
3.3
|
| Mon, 04 Jun 2012 00:21:14 -0700 |
Raymond Hettinger |
Separate key creation logic from the sequence class that memoizes its hash value.
|
| Sat, 19 May 2012 21:20:48 -0700 |
Raymond Hettinger |
Minor change to default lru size. Set default to a power of two.
|
| Mon, 30 Apr 2012 22:32:16 -0700 |
Raymond Hettinger |
Move make_key() out of the decorator body. Make keys that only need to be hashed once.
|
| Mon, 30 Apr 2012 20:48:55 -0700 |
Raymond Hettinger |
Use a flag to indicate when the circular queue is fully populated and stable.
|
| Mon, 30 Apr 2012 14:14:28 -0700 |
Raymond Hettinger |
Handle a possible race condition
|
| Sun, 29 Apr 2012 18:09:02 -0700 |
Raymond Hettinger |
Track the cache size directly.
|
| Sun, 29 Apr 2012 14:55:27 -0700 |
Raymond Hettinger |
Factor out shared variables.
|
| Sun, 29 Apr 2012 12:28:02 -0700 |
Raymond Hettinger |
Flatten the lru cache keyword args tuple for better memory utilization.
|
| Sat, 31 Mar 2012 02:19:06 -0700 |
Raymond Hettinger |
Fix-up a comment
|
| Fri, 30 Mar 2012 21:50:40 -0700 |
Raymond Hettinger |
Fix-up comments and add a sentinel variable for clarity.
|
| Fri, 30 Mar 2012 19:15:18 -0700 |
Raymond Hettinger |
No need to create and destroy links when updating a fixed-sized circular queue.
|
| Fri, 30 Mar 2012 13:15:48 -0700 |
Raymond Hettinger |
Minor cleanup: add whitespace, add comments, bring function attribute updates together.
|
| Sat, 17 Mar 2012 15:11:09 -0700 |
Raymond Hettinger |
Fix whitespace
|
| Sat, 17 Mar 2012 15:10:24 -0700 |
Raymond Hettinger |
Low overhead path for maxsize==0
|
| Sat, 17 Mar 2012 00:24:09 -0700 |
Raymond Hettinger |
Section-off the source for better readability.
|
| Fri, 16 Mar 2012 22:12:20 -0700 |
Raymond Hettinger |
Minor beautification.
|
| Fri, 16 Mar 2012 17:08:37 -0700 |
Raymond Hettinger |
Root variable is not changed.
|
| Fri, 16 Mar 2012 17:05:17 -0700 |
Raymond Hettinger |
Fix whitespace
|
| Fri, 16 Mar 2012 17:04:11 -0700 |
Raymond Hettinger |
Unique sentinel value for cache.get()
|
| Fri, 16 Mar 2012 16:53:05 -0700 |
Raymond Hettinger |
Refactor calculation of the cache key. Minor code cleanups.
|
| Fri, 16 Mar 2012 18:22:53 -0500 |
Benjamin Peterson |
merge heads
|
| Fri, 16 Mar 2012 18:22:26 -0500 |
Benjamin Peterson |
clear the root with the cache
|
| Fri, 16 Mar 2012 11:48:12 -0700 |
Raymond Hettinger |
Minor code cleanup.
|
| Fri, 16 Mar 2012 11:21:39 -0700 |
Raymond Hettinger |
Eliminate duplicate link lookup. Minor cleanup.
|
| Fri, 16 Mar 2012 01:16:31 -0700 |
Raymond Hettinger |
Improve the memory utilization (and speed) of functools.lru_cache().
|
| Sun, 11 Dec 2011 22:37:31 -0600 |
Meador Inge |
Issue #13544: Add __qualname__ to functools.WRAPPER_ASSIGNMENTS.
|
| Thu, 20 Oct 2011 08:57:45 -0700 |
Raymond Hettinger |
Issue 13227: Option to make the lru_cache() type specific (suggested by Andrew Koenig).
|
| Sun, 16 Oct 2011 00:00:51 -0700 |
Raymond Hettinger |
Merge
|
| Thu, 05 May 2011 14:15:44 -0700 |
Raymond Hettinger |
null merge
|
| Tue, 03 May 2011 11:16:36 -0700 |
Raymond Hettinger |
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
|
| Tue, 05 Apr 2011 02:33:54 -0700 |
Raymond Hettinger |
Issue #11707: Fast C version of functools.cmp_to_key()
|
| Mon, 21 Mar 2011 17:54:04 -0700 |
Raymond Hettinger |
Issue #11628: cmp_to_key should use __slots__.
|
| Fri, 18 Mar 2011 15:09:10 -0700 |
Raymond Hettinger |
Minor optimization -- factor a constant expression out of the inner-loop.
|
| Sat, 15 Oct 2011 23:50:42 -0700 |
Raymond Hettinger |
Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache.
3.2
|
| Thu, 05 May 2011 14:15:12 -0700 |
Raymond Hettinger |
Sync-up minor code edits with the default branch.
3.2
|
| Tue, 03 May 2011 11:01:32 -0700 |
Raymond Hettinger |
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
3.2
|
| Mon, 21 Mar 2011 17:50:28 -0700 |
Raymond Hettinger |
Issue #11628: cmp_to_key should use __slots__.
3.2
|
| Sat, 05 Mar 2011 15:15:55 +0100 |
Georg Brandl |
Dummy-merge 3.1 branch into 3.2 branch.
3.2
|
| Tue, 11 Jan 2011 22:08:55 +0000 |
Raymond Hettinger |
Add comment.
|
| Sat, 08 Jan 2011 07:01:56 +0000 |
Raymond Hettinger |
Issue #10042: Fixed the total_ordering decorator to handle cross-type
|
| Wed, 01 Dec 2010 03:45:41 +0000 |
Raymond Hettinger |
Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.
|
| Wed, 01 Dec 2010 00:47:56 +0000 |
Raymond Hettinger |
Doc and docstring nits.
|
| Tue, 30 Nov 2010 19:15:45 +0000 |
Raymond Hettinger |
Add example, tighten text, and minor clean-ups.
|
| Tue, 30 Nov 2010 07:13:04 +0000 |
Raymond Hettinger |
Neaten-up a bit.
|
| Tue, 30 Nov 2010 06:19:46 +0000 |
Nick Coghlan |
Issue 10586: change the new functools.lru_cache implementation to expose the maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple.
|
| Thu, 25 Nov 2010 08:11:57 +0000 |
Raymond Hettinger |
Clean-up docstring, comments, and whitespace.
|
| Thu, 16 Sep 2010 00:31:21 +0000 |
Raymond Hettinger |
Improve comment
|
| Tue, 14 Sep 2010 22:55:13 +0000 |
Raymond Hettinger |
Future proof total_ordering against changes in methods defined on object.
|
| Sat, 11 Sep 2010 08:07:42 +0000 |
Raymond Hettinger |
Revert r84700 which had an unfortunate performance cost.
|
| Sat, 11 Sep 2010 00:05:44 +0000 |
Raymond Hettinger |
Separate positional arguments from localized globals.
|
| Fri, 10 Sep 2010 23:35:52 +0000 |
Benjamin Peterson |
add reduce and partial to __all__
|
| Mon, 06 Sep 2010 21:26:09 +0000 |
Raymond Hettinger |
Add method to OrderedDict for repositioning keys to the ends.
|
| Sun, 05 Sep 2010 05:57:35 +0000 |
Raymond Hettinger |
Clean-up functools.total_ordering().
|
| Sat, 04 Sep 2010 22:46:06 +0000 |
Raymond Hettinger |
Adopt more descriptive attribute names as suggested on python-dev.
|