Closed
Description
In ZIO 2.1.14, we've made some performance optimisations to the Trace
methods.
See:
- Optimise
Tracer.instance#unapply
zio#9414 - Optimisation: Replace
Trace.instance.unapply
calls withTrace.instance.parse
zio#9416 - More efficient parsing of line numbers without string allocations zio#9433
The Trace.parseOrNull
(package private to zio
package) returns null
if it can't parse the trace or returns a ParsedTrace
case class (instead of a Tuple
), which avoids boxing
I'm not sure how much you use Trace.unapply
but I just wanted to make you aware of these changes and potential optimisation.
Feel free to close this ticket if irrelevant 🙂
Metadata
Metadata
Assignees
Labels
No labels