Performance improvement: linked lists for events #23
Labels
🏁 area/perf
This affects performance
💪 phase/solved
Post is done
💬 type/discussion
This is a request for comments
🦋 type/enhancement
This is great to have
Subject of the feature
Given that on large markdown files we are dealing with tons (literally, 100k or so) of events, improving performance might be switching from arrays to linked event objects.
Problem
Operations on big arrays can be slow, such as #21.
Switching to linked lists adds complexity (while removing it in certain other cases!), but will probably/hopefully improve perf.
Alternatives
We’re already using really fast array methods. And everything is mutating already. Maybe linked lists won’t net a lot.
The text was updated successfully, but these errors were encountered: