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

Tempfastermoduleload #143

Closed
wants to merge 9 commits into from
Closed

Tempfastermoduleload #143

wants to merge 9 commits into from

Conversation

lizmat
Copy link
Contributor

@lizmat lizmat commented May 18, 2013

A temporary optimisation for loading modules faster. Many directories / files were tried, but since we currently only just use the first one, we can short-circuit this. Spectest ran about 1% faster on my machine.

This also fixes a cut-n-paste typo where :exists would actually :delete.
As suggested by jnthn++ yesterday
Basically, get rid of the where 0 candidates.  Let :delete have its own
candidate and fall back on no parameter if false.  Let the :exists(True|False)
be handled by a single candidate.  Shorten :x($x) to :$x.
Semi-serious benchmark showed doing spectest ~1% faster with this.
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