Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d9272d6

Browse files
committed
Add deprecation notice to statcache.
1 parent 67bd683 commit d9272d6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/lib/libstatcache.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ \section{\module{statcache} ---
55
\sectionauthor{Moshe Zadka}{[email protected]}
66
\modulesynopsis{Stat files, and remember results.}
77

8+
9+
\deprecated{2.2}{Use \function{\refmodule{os}.stat()} directly instead
10+
of using the cache; the cache introduces a very high level of
11+
fragility in applications using it and complicates application code
12+
with the addition of cache management support.}
13+
814
The \module{statcache} module provides a simple optimization to
915
\function{os.stat()}: remembering the values of previous invocations.
1016

0 commit comments

Comments
 (0)