Skip to content

Iterator garbage collection improvement#516

Closed
tiatin wants to merge 121 commits into
jMonkeyEngine:v3.1from
tiatin:iterator-garbage-collection-improvement
Closed

Iterator garbage collection improvement#516
tiatin wants to merge 121 commits into
jMonkeyEngine:v3.1from
tiatin:iterator-garbage-collection-improvement

Conversation

@tiatin
Copy link
Copy Markdown
Contributor

@tiatin tiatin commented Jun 26, 2016

No description provided.

NemesisMate and others added 30 commits April 5, 2016 08:39
In some cases, native-bullet returns the ray results on a reversed order so it leads to unexpected bugs.
Joystick detection on linux and more...
Move the zip file downloaded from OpenALSoft and the extraction folder to within the build folder so that are ignored by git and cleaned appropriately.
Move the downloaded files to build directory and moved the unzip folder to the build directory so that they are ignored by git and cleaned appropriately.
dokthar and others added 28 commits May 11, 2016 23:50
That's not those typos you're looking for....
…ssue

Ogre importer: Fix for material sharing
Ordering + raw methods instead of reversing.
The program cache now also works with Jocl.
Thanks to @gouessej for his help.
Changing the OpenCL platform and device by restarting the application works.
added a pre-order traversal of the scene graph
Removed warning if scale=1,1,1 in CylinderCollisionShape
For-Each loop creates Iterator object and uses hasNext and next methods, which are slower, than manual iteration. Also allocating Iterator object increases work for GC.

Forum post: https://hub.jmonkeyengine.org/t/iteration-over-list-performance-improvement/36250

See test 9 for more details: http://www.devahead.com/blog/2011/12/coding-for-performance-and-avoiding-garbage-collection-in-android/
Reason for this is that if List is LinkedList, complexity for get(int i) is O(n/4).
…n performance reasons. Fixed bug in SafeArrayList.equals().
@tiatin tiatin closed this Jun 26, 2016
@tiatin tiatin deleted the iterator-garbage-collection-improvement branch June 27, 2016 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.