tag:blogger.com,1999:blog-2611709406839981835.post7785157926455640272..comments2012-11-17T17:00:27.033-08:00Comments on DartGameDevs: Free Lists For Predictable Game Performance John McCutchanhttp://www.blogger.com/profile/11853082520850627688noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2611709406839981835.post-60557424960360485942012-11-13T17:23:00.262-08:002012-11-13T17:23:00.262-08:00A more appropriate name for this is &quot;object p… A more appropriate name for this is &quot;object pools&quot;, since a free list implies a list of pieces of spread out re-usable memory, while an object pool is just a list of objects that are ready to be reinitialized with values to avoid destructing/constructing.<br /><br />Safety comes first, so buy seat protectors for car seat. Hurry up! A tip for a follow-up article would be to implement an object pool that makes use of a factory constructor so that you can hide away the fact that you use object pools from the end-user (which is preferable since that way you can have a class change from not being pooled to being pooled without touching the code that relies on it). You’ll find the best online pokies here, you have time to get it! Andreas Blixthttp://www.blogger.com/profile/00486787064372253011noreply@blogger.comtag:blogger.com,1999:blog-2611709406839981835.post-3661685341297678012012-11-02T12:19:55.299-07:002012-11-02T12:19:55.299-07:00Not yet because i can&#39;t give more details. I j… Not yet because i can&#39;t give more details. I just tried the solar demo that comes with the Dart Editor and it is really worrying. Maybe the JavaScript code creates a lot of temporary objects for closures!? I will post it to dartbug and ask the questions their. Thanks John! Bernhard Pichlerhttp://www.blogger.com/profile/07097492302827800969noreply@blogger.comtag:blogger.com,1999:blog-2611709406839981835.post-1982078478942888872012-11-02T11:51:46.420-07:002012-11-02T11:51:46.420-07:00Hey Bernhard,<br /><br /> Not sure why this happens but it is… Hey Bernhard,<br /><br />Not sure why this happens but it is worrying. Have you filed a bug on www.dartbug.com? What are you still waiting for, go immediately to echtgeld casino bonus von 25 euro now is the time to start playing and winning! John McCutchanhttp://www.blogger.com/profile/04624557559775209676noreply@blogger.comtag:blogger.com,1999:blog-2611709406839981835.post-23201675442232309922012-11-02T11:07:38.744-07:002012-11-02T11:07:38.744-07:00Have you tried to do some tests with dart2js regar… Have you tried to do some tests with dart2js regarding memory allocations? This is the most simple render loop i can imagine:<br /><br />import &#39;dart:html&#39;;<br /><br />void main() {<br /> window.requestAnimationFrame(onFrame);<br />}<br /><br />void onFrame(num time) {<br /> window.requestAnimationFrame(onFrame);<br />}<br /><br />If you run this application in Chrome and look at the memory, you can see that 1MB memory is allocated within 25 seconds. If you add a little bit of code (but without obvious memory allocations) you allocate even more memory within a very short amount of time.<br /><br />I have no idea why this happens!? Bernhard Pichlerhttp://www.blogger.com/profile/07097492302827800969noreply@blogger.com