summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-06-10 09:25:06 +0100
committerLars Wirzenius <liw@liw.fi>2011-06-10 09:25:06 +0100
commit13d1c7a27c1766fd83b68d6d51e2331043433f6a (patch)
treeda8a8023c07347e09e286b739279646084011877 /doc
parente034337e5871c4dc868b5adfcde418fe009cd7ac (diff)
downloadlarch-13d1c7a27c1766fd83b68d6d51e2331043433f6a.tar.gz
Move separate LRU cache implementation into larch.
PyPI has a bunch of other implementations, so there's no point in my adding more. On the other hand, I don't want to rely on those, since I'd have to adapt larch code to use them. I can do that later, to reduce the amount of code I have in larch.
Diffstat (limited to 'doc')
-rw-r--r--doc/index.rst1
-rw-r--r--doc/lru.rst7
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/index.rst b/doc/index.rst
index 8f7974d..6b257b6 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -37,6 +37,7 @@ available as ``larch.bar``.
nodestore
refcountstore
uploadqueue
+ lru
Quick start
diff --git a/doc/lru.rst b/doc/lru.rst
new file mode 100644
index 0000000..82a23fd
--- /dev/null
+++ b/doc/lru.rst
@@ -0,0 +1,7 @@
+Least recently used object cache
+================================
+
+.. automodule:: larch.lru
+ :members:
+ :undoc-members:
+