Skip to content

Conversation

@dbeal-eth
Copy link
Contributor

@dbeal-eth dbeal-eth commented Nov 27, 2025

one of our users indicated that the website deployer was processing the cannonfile extremely slowly.

it turns out that computeTemplateAccesses will use a huge amount of compute to process template accesses, even for strings that have no template usage at all. so to prevent this from being expensive, in most cases we can early return by just doing a simple string check.

one of our users indicated that the websiet was procesisng hte cannonfile

it turns out that `computeTemplateAccesses`  will use a huge amount of compute to process template accesses, even for strings that have no template usage at all. so to prevent this from being expensive, in most cases we can early return by just doing a simple string check.
@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

… instead clear the one that we are already using (its pretty quick/easy to do so)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants