[postgis-devel] Re: [postgis-users] GIST index speed
Martin Davis
mbdavis at refractions.net
Fri Jun 20 09:01:26 PDT 2008
Yes, GEOS has CoordinateSequences, and in fact these were introduced
first in GEOS to allow exactly this option. I assumed that this was
already being done - someone correct this if it's wrong.
The PreparedGeometry concept is in GEOS as well. It is another,
possibly more important use for caching. It caches a lot of data
structures, which provides a major speedup for spatial predicates.
Markus Schaber wrote:
> Hi, Tom,
>
>
> But I had another idea this morning.
>
> Mark, does GEOS have custom coordinate sequences like JTS? Then you
> simply could construct a geometry wrapper that does not copy the
> coordinates, but references the detoasted data "in place". That should
> work at least on those platforms which support non-aligned accesses.
>
>
>
--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022
More information about the postgis-devel
mailing list