You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These changes reduce an O(n^2) enumeration for the common case of string inputs to O(n), amongst a few other things. I changed MatchState to create a Slice in any case where the input isn't already an IList, and Slice is now a thin wrapper around adapters that implement IList. I tried not to change publicly exposed API much, but MatchState's Input property is read only and I didn't keep Slice's copy on write since it isn't currently used anywhere.
Co-authored-by: Stephen <stephen@7thg.com>
Co-authored-by: Gordon Tisher <gordon@balafon.net>
0 commit comments