-
Notifications
You must be signed in to change notification settings - Fork 15
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
Several bug fixes + performance improvements (HOLD FOR NOW) #9
base: master
Are you sure you want to change the base?
Conversation
…property to help speed up tokenization for huge files where there is distinct breaks between tokens (e.g. CVS file).
Hello, What I could also do is merge your pull requests as well as #11 into a 1.2 branch and publish that one to npm. |
Thanks @Floby. Let's hold off on the merge until I can be certain is solves my scenario (you can find it here: https://github.com/joshjung/slim-to-jade. The fixes in this merge request took care of issue #8 but I still found other issues as I continued, primarily with how the chunks are being broken up and how process.nextTick was being called. It made me wonder if either I was not using the tokenizer properly or if some underlying structure needs to change. |
…d the split token is encountered.
…get the 'end' event to fire and it just won't.
…g issues when trying to listen to when tokenizing was done.
…he split occurs so that there is some indicator the split is there.
Fix for #8.
Adding unit test for special scenario that was failing for me. Also adding options.split to improve performance on predictable streams of data with boundaries across which tokens will not ever pass (e.g. CSV file)