foundry-rs / compilers

Utilities for working with native solc and compiling projects.
Apache License 2.0
59 stars 36 forks source link

Lazily deserialize AST from artifacts #25

Open DaniPopes opened 8 months ago

DaniPopes commented 8 months ago

AST is very rarely needed and 99% of artifact deserialization is spent deserializing the AST. This is especially noticeable for huge files eg console.sol which is parsed in basically all forge invocations