[postgis-devel] Aligned Speed

strk strk at keybit.net
Thu Jan 22 08:31:58 PST 2009


On Thu, Jan 22, 2009 at 10:19:22AM +0000, Mark Cave-Ayland wrote:

> There should be some measurable difference with a fast enough clock, but 
> as strk points out, the main reason we wish to align is to try and avoid 
> the overhead of memcpy() when accessing points in large geometries.

I wonder how much replacing the memcpy with bitwise ops would
speed the thing up...

--strk; 

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 



More information about the postgis-devel mailing list