Skip to content

Conversation

@ianks
Copy link
Contributor

@ianks ianks commented May 16, 2025

This PR optimizes Liquid::LiquidResource limits by using a small Struct to represent to data. This is a small optimization, but can add up in hot paths.

ianks added 2 commits May 16, 2025 15:12
Switch ResourceLimits to a Struct for more compact
data representation and cleaner initialization logic.
Remove reached_limit field; use render_score == -1 to indicate limits reached. Update related methods accordingly for clarity and consistency.
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.

1 participant