Closed klahnakoski closed 3 years ago
Profiling is not useful because it has low (method level) resolution. It would be better to profile based on ParserElement; so the runtime for each pattern can be inspected, and maybe focus attention on slow-parsing patterns.
added here https://github.com/klahnakoski/mo-parsing/commit/2125897686ee8123b9fb2df786588638d6735804#diff-9af18baf964abcd437849f6a9732463fa6a6a0cb1027ac0627b0f80f61f15c0b
Profiling is not useful because it has low (method level) resolution. It would be better to profile based on ParserElement; so the runtime for each pattern can be inspected, and maybe focus attention on slow-parsing patterns.