Closed kean closed 2 years ago
I know it's not pretty, but it gets the job done.
My measurements (Release Mode, Yams, GitHub spec with 75K lines):
Before: Parse spec completed (2.507 s) After: Parse spec completed (0.793 s)
That's more than three times faster!
It's not ideal to have to disable it manually every time. I'm thinking, is there a way to detect upfront whether extensions are needed? I wish spec had some metadata.
I know it's not pretty, but it gets the job done.
My measurements (Release Mode, Yams, GitHub spec with 75K lines):
Before: Parse spec completed (2.507 s) After: Parse spec completed (0.793 s)
That's more than three times faster!
It's not ideal to have to disable it manually every time. I'm thinking, is there a way to detect upfront whether extensions are needed? I wish spec had some metadata.