facepunch commits
branch
rust_reboot/main/optimize_findbyid
cancel
Jake_Rich
3 Days Ago
rust_reboot
/main/optimize_findbyid
#132328
Optimize BasePlayer.FindById() since it's used throughout the codebase - add Dictionary<ulong,BasePlayer> for online & offline players - speed up string search methods by first seeing if the string is a steam id & calling FindById() methods first
thumb_up
8
thumb_down
1