-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Fixes SI-4929, with a test to verify. #124
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
Conversation
Also fixes potential issue with Parsers.phrase not being reentrant; however, I was unable to actually reproduce this issue in practice. (The order in which lastNoSuccess was being set and compared seemed to guarantee that it would never actually be a problem).
Can you verify you have signed and submitted the contributor agreement at http://www.scala-lang.org/sites/default/files/contributor_agreement.pdf ? |
jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/13/ |
Hi, I have submitted my contributor agreement. |
Sorry about the turnaround speed. You're in! |
I'm sorry for barging in this late (the ticket did not have a component, so it escaped my filters), but was any benchmarking done? It seems to me that this would make It seems to me that, in the course of a normal parsing, for each option considered and rejected, the following trade off happens: Previously: Now: Now, if benchmarks show the resulting performance is about the same, I'm all for this patch. Otherwise, why not just mark |
At the very least, we could drop the |
See comment at https://issues.scala-lang.org/browse/SI-4929 . |
I think |
We encountered the memory leak issue mentioned in SI-4929, and plan to change our |
Please open an issue at https://github.com/scala/scala-parser-combinators; the code no longer exists in this repo. Also, you have a better chance of getting expert help there. |
Fixes Jekyll artefacts visible in README.md
Upper bound on the E type parameter of HashEntry
Update SBT for the warn command, now assumed by sbt-extras
Also fixes potential issue with Parsers.phrase not being reentrant; however, I was unable to actually reproduce this issue in practice. (The order in which lastNoSuccess was being set and compared seemed to guarantee that it would never actually be a problem).