nodejs / llparse

Generating parsers in LLVM IR
http://llparse.org
Other
586 stars 32 forks source link

Save spans on pause #14

Open indutny opened 6 years ago

indutny commented 6 years ago

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().

indutny commented 6 years ago

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).