met44
New Member
Posts: 2
Posts: 2
|
Post by met44 on Sept 18, 2018 12:27:49 GMT
Hi, i'm curious why in PoolBoss.cs L.113 you use
_potentialInSceneObjects.Keys.Count instead of
_potentialInSceneObjects.Count
It causes a 24B alloc each frame for nothing as far as i can tell ?
Regards
ps: i'm on latest 2018 version, and installed poolboss recently so i guess i'm using the latest version
|
|
|
Post by DarkTonic Dev on Sept 18, 2018 15:56:59 GMT
Didn't know that was any different. Fixed for next update, thanks!
|
|
met44
New Member
Posts: 2
Posts: 2
|
Post by met44 on Sept 19, 2018 15:24:28 GMT
np, and i didn't know either i just found out checking the profiler  didn't dig any further so take it for what it worth but i believe there's some boxing involved
|
|
|
Post by DarkTonic Dev on Sept 19, 2018 15:40:02 GMT
Makes sense. Too bad the compiler couldn't take care of this one haha.
|
|