Skip to content

Conversation

thewilkybarkid
Copy link
Contributor

I ran into high memory usage with RefResolver::resolve() when validating many documents against complex schemas. This can be improved by caching the results across all calls.

@bighappyface
Copy link
Collaborator

@thewilkybarkid would you mind reviewing the tests for this package to see if there is a place to test these changes?

@thewilkybarkid
Copy link
Contributor Author

@bighappyface There's now a test, without the changes that test runs out of memory (for me).

@bighappyface
Copy link
Collaborator

+1

@bighappyface bighappyface merged commit ef13b9b into jsonrainbow:master Aug 11, 2016
@thewilkybarkid thewilkybarkid deleted the cache-paths branch August 11, 2016 12:53
@thewilkybarkid thewilkybarkid mentioned this pull request Aug 24, 2016
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.

2 participants