Skip to content

Conversation

nwoltman
Copy link
Contributor

I added this perf optimization a while ago (can't find a reference since it was before the repo was moved here). It's now outdated since Array.isArray() is as fast as or faster than instanceof Array. Keeping it around for older versions of Node wouldn't be useful since it's such a small perf improvement compared to the fact that it's basically unnecessary, duplicated code.

@dougwilson dougwilson self-assigned this Jan 21, 2020
@dougwilson dougwilson force-pushed the remove-anti-optimization branch from dd26383 to d3cd69a Compare January 21, 2020 07:33
Copy link
Member

@dougwilson dougwilson left a comment

Choose a reason for hiding this comment

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

thanks

@dougwilson dougwilson merged commit d3cd69a into mysqljs:master Jan 21, 2020
@nwoltman nwoltman deleted the remove-anti-optimization branch January 21, 2020 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants