-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
See
kotlinx-datetime/core/common/src/internal/format/parser/Parser.kt
Lines 44 to 45 in 20e523a
// TODO: O(size of the resulting parser ^ 2), but can be O(size of the resulting parser) | |
internal fun <T> List<ParserStructure<T>>.concat(): ParserStructure<T> { |
O(|number of joined parsers|^2)
traversal. Benchmarks show that this call takes a huge portion of the runtime, so this is not just a theoretical concern.Metadata
Metadata
Assignees
Labels
No labels