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

Only stringify schema once #180

Merged
merged 1 commit into from Nov 21, 2014
Merged

Only stringify schema once #180

merged 1 commit into from Nov 21, 2014

Conversation

treppo
Copy link
Contributor

@treppo treppo commented Nov 21, 2014

The stringify step recursively stringifies all keys of the schema. At the moment it is not done once per schema, but over and over again for every sub–schema. Pulling out the stringify step from the schema initialization speeds up schema verification by around 30% on my machine. Tests still pass.

@pd
Copy link
Contributor

pd commented Nov 21, 2014

👍

@RST-J
Copy link
Contributor

RST-J commented Nov 21, 2014

👍

RST-J added a commit that referenced this pull request Nov 21, 2014
Only stringify schema once
@RST-J RST-J merged commit 37b6334 into voxpupuli:master Nov 21, 2014
@pd pd mentioned this pull request Nov 22, 2014
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

3 participants