3 ms·
This has nothing to do with Memoization [1] that Python already have out of the box through `functools.lru_cache` [2] This is just a very bad naming choice for
by dudus 12y ago
This has nothing to do with Memoization [1] that Python already have out of the box through `functools.lru_cache` [2]
This is just a very bad naming choice for this library that seems to be an OK alternative to Make.
[1] https://en.wikipedia.org/wiki/Memoization https://en.wikipedia.org/wiki/Memoization
[2] https://docs.python.org/3/library/functools.html#functools.lru_cache https://docs.python.org/3/library/functools.html#functools.l...
- ianbicking 12y agoIf you think of a build step as a function, taking some files as input (the source) and returning a result (the compiled artifact), then this tool is memoizing the that function.
- scott_s 12y agoAgreed - from the name and the mention of strace, I immediately got how it worked.
- kshitijl 12y agoDid you read the Wikipedia article you link to? This has everything to do with memoizing the result of running compilation programs (function) on input files (arguments). The "trick" here is using strace to figure out the complete set of inputs to the (assumed to be) idempotent compilation steps.