Can JavaFX do CAD?
Richard Bair
richard.bair at oracle.com
Thu Jul 25 09:08:43 PDT 2013
> If there are really a lot of properties of the same (primitive) type
> would it make sense to store their primitive values inside arrays
> instead of single fields? Not sure how arrays preform memory and access.
> If there are many booleans they could be store inside an short/int/long.
My understanding is that JavaC does that for you to the extent that it can safely determine (compact booleans in to a single integer, etc). But I don't know for certain, it would be a worth experiment to just try it out.
I would recommend trying to use jmh (http://impactjs.com/demos/physics/) to write a few micro benchmarks just to see what the differences are.
Richard
More information about the openjfx-dev
mailing list