Iterator garbage collection improvement#516
Closed
tiatin wants to merge 121 commits into
Closed
Conversation
In some cases, native-bullet returns the ray results on a reversed order so it leads to unexpected bugs.
…f the OpenCL specification
…er test to HelloOpenCL
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.
That's not those typos you're looking for....
it was not needed.
…ssue Ogre importer: Fix for material sharing
Added raw results ray tests too.
Ordering + raw methods instead of reversing.
The program cache now also works with Jocl. Thanks to @gouessej for his help.
… depth first search traversal
Changing the OpenCL platform and device by restarting the application works.
OpenCL for jME3
…g would stop rendering
added a pre-order traversal of the scene graph
…/check for possible NPEs
https://hub.jmonkeyengine.org/t/jmonkey-3-1-native-bullet-bug/33595/3 http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=12158&f=9&t= Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
Removed warning if scale=1,1,1 in CylinderCollisionShape
Finally fixing this
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().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.