dustjs
dustjs copied to clipboard
Performance issue with 2.7.4
Hi,
I've found an performance issue in the current 2.7 branch and would fix that. I also found out that the code in master is already restructured and may not be affected anymore. Will the current master be merged in 2.7 or is it worth it to fix that 2.7 branch?
(v8 does not optimise that function) https://github.com/linkedin/dustjs/blob/2.7/lib/parser.js#L268
Marc
The parser code is automatically generated by peg.js. Master does use a newer version of peg, but if the code it generates could be optimized you'll probably want to open an issue upstream with peg.
Thank you for help. I didn't tried the newer version yet. Is the release of the master already scheduled?