Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

perf(copy): avoid regex in isTypedArray #12054

Closed
wants to merge 1 commit into from

Conversation

jbedard
Copy link
Contributor

@jbedard jbedard commented Jun 9, 2015

Simplifying and avoiding the regex makes all the copy scenarios I tried 5-15% faster...

@lgalfaso
Copy link
Contributor

lgalfaso commented Jun 9, 2015

Would it be possible for you to share the setup that you are using to check for these performance gains?

@jbedard
Copy link
Contributor Author

jbedard commented Jun 9, 2015

Basically something such as f7bf118. Random test snippets within a benchpress app...

@lgalfaso
Copy link
Contributor

lgalfaso commented Jun 9, 2015

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants