-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ENH: make calls to compute_fixed_point
allocate less memory
#40
Labels
Comments
sglyon
changed the title
ENH: make calls to
ENH: make calls to Aug 4, 2014
compute_fixed_point
not allocate memorycompute_fixed_point
allocate less memory
@spencerlyon2 This is done, right? Can we close? |
What about an 'inplace' option such that |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea is quite simple: whenever we call
compute_fixed_point(T, ...)
we should update the definition ofT
so that any temporary arrays can be optionally supplied by the caller. See the newcompute_lt_price
function in theLucasTree
class of quantecon/models/lucastree.py for an example (there we avoid allocatingTf
on each iteration).The text was updated successfully, but these errors were encountered: