zaphar / ucg

A Universal Configuration Grammar
Apache License 2.0
36 stars 3 forks source link

Deep Structures are slow to parse and evaluate. #11

Closed zaphar closed 5 years ago

zaphar commented 5 years ago

Getting up to 3 deep in a tuple and/or list is very slow to parse. Decomposing the structure and putting it together in a series of let statements make it faster.

We should profile and see about making the parsing faster.

zaphar commented 5 years ago

Some profiling with dtrace and small changes to our parsing and this looks much better now.