llparse
llparse copied to clipboard
Save spans on pause
There's no need to save/restore spans on every .start()/.end(). The set of active spans is known for each node ahead of time, so we can just store them at .pause().
This will require passing all span starts around. Probably not feasible for multiple-spans, but is worth exploring for a single span case (http-parser).