-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The proposed solution for string-split
uses string-ref
and substring
. Both are allowed to be O(n) where n is the length of the string. Thus the solution can be accidentally quadratic on some Schemes. It should not be promoted but rewritten.
cookbook/recipes/split-string.md
Line 16 in 76456bc
(if (not (char-delimiter? (string-ref string b))) |
Metadata
Metadata
Assignees
Labels
No labels