mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 08:34:23 +00:00
## About The Pull Request We make timers a lot. Making a unique string for each of them wastes time (string churn). It also means we have to do an extra ref() in the bucketJoin proc. If we instead throw all the shit we care about in a list and just read off it later, we get pretty decent savings ((0.013 | 0.022) -> (0.009, 0.012)) (It was way worse when ref() was hyper expensive) It's not much, but since timers are hot I think it's worthwhile. It also lets us add further debug information, if we want it. Could optimize this further if we had less stuff in the list, depends on what we want displayed as it was on insertion and what we want displayed as it was at moment of print. Also also this is 100% the reason I did 515 in the first place and I need to be free ## Why It's Good For The Game Uhhhhhhhh more flexability in timer readouts? Cost I was worried about is mostly gone cause ref() got better I think
26 KiB
26 KiB