g-code parser: removed useless and slow memoization