-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
While the SliceLexer is quite fast, it requires the entire input to be loaded in memory beforehands.
On the other side, the current RangeLexer is painfully slow.
It may be useful to add a ForwardLexer, which requires its input to be at least a ForwardRange, using this information to speed up the reading process, in particular the allocation of memory.
It's also necessary to add a BufferedLexer, which takes as input an InputRange of slices. It will be very useful for buffered reads from files, having a speed comparable to the SliceLexer whenever the token is not on a buffer boundary, but not needing a huge amount of memory.
Metadata
Metadata
Assignees
Labels
No labels