Open Arcticae opened 1 year ago
It has low priority
Reference — Caching in Buck: https://youtu.be/uvNI_E0ZgZU?t=976
Scarb should be responsible for caching Cairo compilation results.
Contract name in tests should resolve to the build output.
Caching would be a functionality of protostar build
.
Moving it to the next milestone
This caching mechanism should be capable of:
A performant hash function has to be chosen, and some decorators to compilation methods, that compare the parameters and check for cached values.
This task should somehow also do an assessment of performance of caching the compiled files on the FS.
Note: This is not the highest priority, should be done probably last, as it's not necessary for the new testing arch to work.