-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
On the two-line sample file, org-parser takes
- 3 seconds with a compiled jar
- 7.5 seconds with
lein run
which is probably mainly compilation and runtime initialization.
On a 31,000 line real-world org file, it takes a maximum of CPU, 2GB of memory and at least 15 minutes (not yet finished).
(lein run
crashed after 15 minutes with OutOfMemoryError
.)
I haven't tried the JS version yet but I guess on a Smartphone it will only work well for files with a few hundred lines.
I'm a bit surprised because our parse trees should all be pretty flat.
@branch14 how was this language-independent state-machine parser generator called again? I guess a compiled binary compiler would be significantly faster.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested