[postgis-devel] ST_OrderingEquals and memcmp

Sandro Santilli strk at keybit.net
Mon Nov 17 07:12:45 PST 2014


I was reading the implementation of ST_OrderingEquals and wondered
why we're not using memcmp on the serialized memory.

Saint testsuite revealed it can sometime fail.
I guess the reason for that is some "holes" in the serialized format
left for alignment purpose, does it sound correct ?

Could we ensure serializers fill any hole to speedup identity checking ?

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list