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
Changed: Double.parser() has been rewritten to pass a parsed substring directly to Double.init rather than strtod_l (which Double.init uses under the hood). This avoids a crash in which an attempt to take the contiguous bytes of an unsafe buffer pointer on contiguous storage can fail. There is a slight performance cost (as seen in the benchmarks). We can probably recover this performance with a custom parser that does not simply wrap Double.init.
Bug fixed: all Prefix parser initializers correctly pass through their predicate parameters.
Simplified parse helper on strings to contiguous storage (thanks @kaandedeoglu).
Improved documentation.
Improved JSON example: it is not to-spec with properly escaped strings. Naive implementation still performs only about 2x slower than JSONSerialization.