mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-04 05:51:54 +00:00
Closes #73902 > Since strings are ref counted, and a `\ref` creates a string, then in cases where a `\ref` is only intended to go to an html window showed to a player or admin, storing it would extend how long the string for the `\ref` exists in the string tree, which is likely bloating the string tree and making it have to force a rebalance more often. > > 515's next version has a pretty decent speedup on `\ref`/`ref()`. Turned into an experiment flag for a few reasons: 1. I like the idea of when testing 515, only testing 515, and not our changes that benefit from 515 2. Lets me profile the differences a lot easier 3. Makes it clearer what needs to be removed, since I have locked `cached_ref` behind *not* having the flag. Also adds a compile error if these flags live past 515.
1.1 KiB
1.1 KiB