facepunch commits
Daniel P
Today
rust_reboot
/main/growablegenes_allocs
#123623
Optim: don't sort slotWeights to avoid internal allocs Array.Sort(T[], IComparer<T>) in this version of mono always allocates a Comparison<T> internally. Lucky for us, we can just simplify the code and avoid this alloc. Tests: alloc unit test passes
thumb_up
0
thumb_down
0