[postgis-users] Small speed comparison

strk at refractions.net strk at refractions.net
Thu Feb 17 06:29:30 PST 2005


On Thu, Feb 17, 2005 at 12:59:26PM +0100, Markus Schaber wrote:
...
> But while comparing those results, I found some odd thing (that was
> present before the current changes, too): I wonder why asEWKB and
> asBinary both are noticably slower than rendering canonical text
> (hexEWKB), though.

asEWKB does not exist. asEWKT must write a string, so contains
many sprinf calls that hexEWKB doesn't have.
asBinary() drops SRID and higher dimensions, thus the slowdown.
--strk;

> 
> Markus
> 
> -- 
> markus schaber | dipl. informatiker
> logi-track ag | rennweg 14-16 | ch 8001 zürich
> phone +41-43-888 62 52 | fax +41-43-888 62 53
> mailto:schabios at logi-track.com | www.logi-track.com
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list