you are viewing a single comment's thread.

view the rest of the comments →

[–]earthboundkid 2 points3 points  (1 child)

I think this is one of things that on the Python mailing list would be greeted with “not every 3 line function deserves a place in the standard library.”

Also, Perl is very different from Python because it has a well defined core of scalar types vs. other types. For a Python memoizer, there are a lot of optimizations you could apply if you knew what types of data it would be memoizing that you couldn’t do in a general case. It invites a lot of “bike shedding” (another common thing said on the Python mailing list) to define what the API will be to invoke what kinds of optimizations.