Closed skoppe closed 4 years ago
A lot of template bloat was being generated by having map, filter and countUntil inside the 'and' and 'or' templates.
By simply moving them outside compilation speed and memory is back to normal again.
Thanks a lot! And, interesting find. Will need to store that knowledge somewhere for later use :-)
https://github.com/PhilippeSigaud/Pegged/pull/282 for the unittest fix
A lot of template bloat was being generated by having map, filter and countUntil inside the 'and' and 'or' templates.
By simply moving them outside compilation speed and memory is back to normal again.