Mon, 11 Jan 2010 05:26:28 -0500, bearophile wrote: > grauzone: >> Why are you making such proposals, when one of the core developers even >> thought about removing normal "scope"? > > I have a nice implementation of Barnes-Hut algorithm translated from > Java. Its running time goes from 18.1 seconds to 7.6 s adding "scope" > where some classes are initialized (those classes are 3D vectors, that > can also become structs). > > If scope classes are removed, then it may be necessary to add struct > inheritance to D2, because in several situations objects can't be used > (and by the way, the very latest Java HotSpot
latest = 17.0-b05 ? > needs about 10.9 s to run > the same code, despite it performs Escape Analysis, probably because > such Analysis is not as good as my manual scope annotations). On request > I can show all the code discussed here. > > Bye, > bearophile
