Skip to content

More Podlang parser performance improvements - #533

Open
robknight wants to merge 1 commit into
mainfrom
more-parser-perf
Open

More Podlang parser performance improvements#533
robknight wants to merge 1 commit into
mainfrom
more-parser-perf

Conversation

@robknight

Copy link
Copy Markdown
Collaborator

This PR builds on #532 to speed up the Podlang parser using various tweaks and bottleneck removals.

Mostly this means parallelizing using Rayon where possible, eliminating some quadratic search behaviour in CustomPredicateBatchBuilder, and making sure that fast paths/early exits are taken whenever they can be.

This cuts pexe build by about 50% for the microverse example. The remaining cost is partly in Merkle tree building, which we can address by bulk-building Merkle trees rather than iteratively inserting each new entry. Since the Merkle tree implementation is a dependency for many parts of the library, I will leave this for another PR.

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