Re:Comparing C and C++ usage and performance with a real wor...
by pjc50 on Sunday September 03, 2017 @12:46PM
(#15162415)
Ouch.
Last time I did any serious parser work I used a pool allocator so I could free all the nodes at once, so allocation was just a compare + increment operation. Although that was forced on me by the difficulties of error recovery in yacc.
Last time I did any serious parser work I used a pool allocator so I could free all the nodes at once, so allocation was just a compare + increment operation. Although that was forced on me by the difficulties of error recovery in yacc.