afs commented on issue #1324: URL: https://github.com/apache/jena/issues/1324#issuecomment-1178712617
@new-javacc thank you for the suggestion for rewriting the grammar but it does not address the original report which is the buffer reallocation which is https://github.com/javacc/javacc/pull/85. For a 1Mbyte buffer, the current JavaCC strategy does 267,911,168 bytes of copying (copy the buffer on every 2K growth). Changing to a growth of 1.5, there are is 2,385,340 bytes of copying. It behaves the same as current JavaCC upto 4096. As this would benefit more than just this project, I've added the possibility to https://github.com/javacc/javacc/pull/85. @SimonBin - could you please get some VisualVM/YourKit performance hotspot figures to show the time that the code is in buffer allocation? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
