Changes between Initial Version and Version 1 of Ticket #2370


Ignore:
Timestamp:
Jan 11, 2014, 4:17:02 PM (10 years ago)
Author:
Yves
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2370 – Description

    initial v1  
    2727Using less polymorphic objects and avoiding deleting and adding properties allows the JIT compiler to optimize your code much better. I currently suspect that this polymorphic structure of entity collections is the main reason why the [http://www.wildfiregames.com/forum/index.php?showtopic=17289&p=282345 SpiderMonkey upgrade didn't improve performance for us].
    2828
    29 There was some input from SpiderMonkey developers [http://logbot.glob.com.au/?c=mozilla%23jsapi&s=7+Jan+2014&e=7+Jan+2014 here].
     29There was some input from SpiderMonkey developers [http://logbot.glob.com.au/?c=mozilla%23jsapi&s=7+Jan+2014&e=7+Jan+2014#c325794 here].
    3030One suggestion was using [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map Map] instead of normal objects. I think Map isn't supported in SpiderMonkey 1.8.5, so you'd have to apply the patch in #1886 first or wait until the upgrade is completed.
    3131