@DaveVoyles Did I not put one in that particle sample I did for you?
My object pooling system doesn't work. In fact, it is more of a perf hit than creating/killing objects. *le sigh* back to the drawing board
-
-
-
@NemoKrad Oh that's right, you did. I need to figure out how to convert it to JavaScript now. Do you still have a link to it on your site? - Show replies
New conversation -
-
-
@DaveVoyles The problem with pooling is that with more objects lying around, the garbage collector takes longer to run. -
@EdDiGeronimo Yup, and I think that's the issue I'm running into. Going to record a YouTube video of perf monitor, before and after
End of conversation
New conversation -
-
-
@DaveVoyles So the pooling reduces how often the collector runs, but makes those runs more noticeable. -
@EdDiGeronimo That's exactly what is happening. I can see it rise and fall in small hills w/ pooling on, but no hit without it.
End of conversation
New conversation -
-
-
@DaveVoyles This is for your js game right? check out my implementation of a pool (search for “ResourcePool”) - https://github.com/joelmartinez/flatredball-js/blob/master/frb.js …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles simple example here: http://joelmartinez.github.io/flatredball-js/ -
@joelmartinez Just what I'm looking for, I'll go into it tonight. Thanks!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.