#3871 closed enhancement (fixed)
Performance of lwgeom_cmp, avoid memcpy
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.1 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
The memcpy involved in moving the bits from the float4 coordinate representation to a int representation can be avoided with a type-punning union.
Note:
See TracTickets
for help on using tickets.
Solution in https://github.com/postgis/postgis/pull/144