Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: perf improvements in parsing phase #26

Merged
merged 5 commits into from
Apr 4, 2019
Merged

Conversation

menduz
Copy link
Member

@menduz menduz commented Apr 4, 2019

As written in the devlog #1, this is the first of a series of performance improvements to make the compiler faster. This one focuses on caching the parsing phase of the nodes. The compiler is still creating all the AST nodes based on the cached parsing tree. But it is way faster.

Before this, I got the tests running consistently in 3.5 minutes. After the change those same tests run in 2minutes. It almost doubles the speed.

A lot of work is in front of the parser before start writing it in Lys itself.

@menduz menduz changed the title feat: perf improvements feat: perf improvements in parsing phase Apr 4, 2019
@menduz menduz merged commit 88b44b8 into master Apr 4, 2019
@menduz menduz deleted the feat/perf-improvements branch April 4, 2019 01:23
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.

None yet

1 participant