Skip to content

Conversation

@mcollina
Copy link
Member

@mcollina mcollina commented May 3, 2018

We cache a module-wide Ajv instance instead of creating a new one
to validate each schema and then throw it away.

We cache a module-wide Ajv instance instead of creating a new one
to validate each schema and then throw it away.
@mcollina mcollina requested a review from delvedor May 3, 2018 14:02
Copy link
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@delvedor delvedor merged commit 0f0cf51 into master May 3, 2018
@delvedor delvedor deleted the speed-up-creation branch May 3, 2018 14:13
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.

3 participants