Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cached_function with weakref cache #6520

Closed
nthiery opened this issue Jul 13, 2009 · 8 comments
Closed

Implement cached_function with weakref cache #6520

nthiery opened this issue Jul 13, 2009 · 8 comments

Comments

@nthiery
Copy link
Contributor

nthiery commented Jul 13, 2009

The preliminary attached patch (taken from the Sage-Combinat patch server) implements a variant of cached_function where the cache uses weak references. Again: preliminary: the test do not pass, ...

Feedback welcome!

The first planned application is for homsets, after the category stuff #5985 will be in.

CC: @sagetrac-sage-combinat @roed314 @simon-king-jena

Component: misc

Keywords: cached function, weakref

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/6520

@nthiery

This comment has been minimized.

@nthiery

This comment has been minimized.

@nthiery
Copy link
Contributor Author

nthiery commented Jul 13, 2009

@mezzarobba
Copy link
Member

comment:3

Done in #12215?

@simon-king-jena
Copy link
Member

comment:4

Replying to @mezzarobba:

Done in #12215?

I think so.

@tscrim
Copy link
Collaborator

tscrim commented Feb 11, 2014

Changed author from David Roe to none

@tscrim
Copy link
Collaborator

tscrim commented Feb 11, 2014

Reviewer: Travis Scrimshaw

@tscrim
Copy link
Collaborator

tscrim commented Feb 11, 2014

comment:5

This is the same feature as @weak_cached_method from #12215.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants