[geos-devel] final classes

strk at refractions.net strk at refractions.net
Fri Feb 18 12:21:22 EST 2005


I'm still working on performance tuning for GEOS.
Trying to improve AbstractSTRTree::query() I wanted
to inline ItemBoundable->getBounds() and AbstractNode->getBounds(),
but this is impossible unless we define them as 'final'.

Can we consider them final or not ?
Checking out JTS code I found out that NO class if declared
as final. Has that been a choice or a misreguarded feature
due to Java not getting any performance penalty from not-doing so ?

--strk;



More information about the geos-devel mailing list