New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoking nextToken twice #3

Open
nevercast opened this Issue Jul 2, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@nevercast

nevercast commented Jul 2, 2015

https://github.com/clarkf/node-bencoding/blob/master/lib/bencoding.js#L74-L75

Not necessary. Line 74 can be dropped entirely.
Do a benchmark test before and after, because I'm curious. Though I don't imagine a massive jump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment