Skip to content

Conversation

@gkjohnson
Copy link
Contributor

Fix #87

}

// Passing a number into "indexOf" explicitly to avoid Buffer polyfill
// slow path. See issue #87.
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 great comment to help remember why the code is the way it is.

@brianc brianc merged commit 182ac62 into cruise-automation:master Oct 28, 2020
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.

"extractFields" function triggers Buffer.indexOf polyfill slow path

2 participants