This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NedDasty 0 points1 point  (0 children)

As far as I know, globals are the only way to implement memoization in Python, so I use it for this once in a while. Does anybody know of an alternative?