daemon-rewrite/parser: Improve performance (WIP)