Anyone done any benchmarking on the performance hit for the high level API. Performance is an issue for what I am doing but if it is 0-5% it would be acceptable.
Thanks
RDL
Anyone done any benchmarking on the performance hit for the high level API. Performance is an issue for what I am doing but if it is 0-5% it would be acceptable.
Thanks
RDL
I havn’t benchmarked it myself - but I really don’t think the difference would be high at all. Nothing compared to say the difference between using Xith3D over straight JOGL.
If you look at the source, the high level API basically just passes the calls onto the low level API, sometimes caching data. At the worst, the high level API would use a bit more RAM (we’re not talking about a lot here though).
This choice really isn’t about performance, it’s about which API you prefer. Most of use prefer the high level API but I can see that some (such as people porting apps from C to Java or those just wanting to use ODE with Java in it’s purest form) may prefer the low level one.
Remember howerver, that the high level API as I said just passes stuff on to the low level one - so the order of operations IS important! Just as it is in the low level api and using ODE from any other language. Remember this or you will probably run into trouble.
Cheers,
Will.