Search found 2 matches

by quintesse
Thu May 03, 2007 10:03 pm
Forum: Jirr
Topic: jirr and irrlicht
Replies: 4
Views: 4867

And about the passing of large amounts of data: that's what NIO buffers are for. Especially if all you are passing are things like vertices, indices and texture data you should consider switching to those buffers, the speed increase is considerable. The downside of course is that you won't be able t...
by quintesse
Thu May 03, 2007 9:35 pm
Forum: Jirr
Topic: jirr and irrlicht
Replies: 4
Views: 4867

The slowdown is most likely because of the finalizers like this one: protected void finalize() { delete(); } The Java GC is notoriously slow for classes that use finalizers and even then it does not guarantee when those finalizers will be run... if ever! Read this IBM article about Java finalizers: ...