onflow / flow-interaction-template-tools

Apache License 2.0
6 stars 0 forks source link

Make generation of Interaction Templates dependency pins faster #6

Open JeffreyDoyle opened 1 year ago

JeffreyDoyle commented 1 year ago

Issue to be solved

Currently the process to generate a dependency pin for an Interaction Template is quite slow. We need a process that is faster in order to increase the usability of FLIX tooling.

Suggest A Solution

Investigate a memoization/cache pattern we could use to generate dependency pins. Instead of repeatedly recomputing dependency pins for each contract, use the same dependency pin already generated for a prior contract.