cadence
cadence copied to clipboard
Re-use static-type to sema-type conversion results
Work towards https://github.com/onflow/cadence/issues/3804
Description
โ without_caching.txt โ with_caching.txt โ
โ sec/op โ sec/op vs base โ
FTTransfer-8 90.51ยต ยฑ 3% 77.88ยต ยฑ 2% -13.95% (p=0.002 n=6)
โ without_caching.txt โ with_caching.txt โ
โ B/op โ B/op vs base โ
FTTransfer-8 54.78Ki ยฑ 0% 47.85Ki ยฑ 0% -12.65% (p=0.002 n=6)
โ without_caching.txt โ with_caching.txt โ
โ allocs/op โ allocs/op vs base โ
FTTransfer-8 1.430k ยฑ 0% 1.201k ยฑ 0% -16.01% (p=0.002 n=6)
- [x] Targeted PR against
masterbranch - [x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
- [x] Code follows the standards mentioned here
- [x] Updated relevant documentation
- [x] Re-reviewed
Files changedin the Github PR explorer - [x] Added appropriate labels