Speed improvements to task parsing