Closed dbuenzli closed 10 years ago
Not sure I understand what the lazy invocation bits really improve. In Makefiles, declaring a variable is already lazy.
Iiiiiik 1) this was not for merging 2) the improvement here was that the same ocamlfind
invocation found in several variable definition would be computed only once.
ack. reverted
Do not merge. This is a (useless) proof of concept only.
Having been running in circles the whole day between #93, #88 and what I suggested in #92, it seems in fact hard to boil down to per package ocamlfind calls (which I guess @samoht realized long time ago). But I fell on that hack to memoize values in makefiles. I just tried a proof of concept implementation which would optimize calls to ocamlfind per ordered set of packages. But on my examples it doesn't seem to make any difference since what we had in e767148.