You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "jiayuasu (via GitHub)" <gi...@apache.org> on 2026/10/14 05:11:28 UTC
[I] Skip deserialization in ST_EqualsIdentical when both geometry buffers are byte-identical [sedona]
jiayuasu opened a new issue, #3456:
URL: https://github.com/apache/sedona/issues/3456
`ST_EqualsIdentical` deserializes both serialized geometry buffers into JTS objects before comparing them. For stored geometry columns that are often equal (for example round-trip validation), that deserialization dominates the cost: about 104 KB are allocated per equal 1,000-vertex XYZM pair, while the comparison itself allocates nothing.
A byte-identical pair of buffers always encodes identical geometries, so the function can return true for it without deserializing. Pairs whose bytes differ still need the structural comparison, because identical geometries can be encoded differently (different SRIDs, NaN payloads, signed zeros).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Skip deserialization in ST_EqualsIdentical when both geometry buffers are byte-identical [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu closed issue #3456: Skip deserialization in ST_EqualsIdentical when both geometry buffers are byte-identical
URL: https://github.com/apache/sedona/issues/3456
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org