Hacker News new | ask | show | jobs
by tick_tock_tick 2123 days ago
These kind of optimization are incredibly painful in Rust one common suggestion is to sidestep the issue and store an offset + length in the nodes and then you take that to look up the value from the original string when you need the value.