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

Switch to global scope repo #2

Merged
merged 2 commits into from
May 30, 2016
Merged

Switch to global scope repo #2

merged 2 commits into from
May 30, 2016

Conversation

trishume
Copy link
Owner

Use a lazy static global scope repo. This makes everything way nicer.

Performance isn’t an issue since creating scopes isn’t on the critical path.

As an added perf benefit the scope repo is available for you to lock it once and create a bunch of scopes, like the yaml parser currently does.

@trishume trishume merged commit 396e56b into master May 30, 2016
@trishume trishume deleted the no-repo branch May 30, 2016 18:02
keith-hall pushed a commit to forkeith/syntect that referenced this pull request Dec 9, 2017
Clean up and fix with_prototype captures logic
varungandhi-src pushed a commit to varungandhi-src/syntect that referenced this pull request Dec 27, 2021
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