mapbox / geometry.hpp

C++ geometry types
ISC License
95 stars 37 forks source link

Use std::alignas on point struct #15

Closed flippmoke closed 8 years ago

flippmoke commented 8 years ago

Can we be explicit about the memory alignment of the point struct as this could help in the future with operations such as SSE that might directly access the memory in the struct.

/cc @daniel-j-h

jfirebaugh commented 8 years ago

Can you be more specific as to what this would help with?

mourner commented 8 years ago

@flippmoke any updates here or can I close for now?

flippmoke commented 8 years ago

I think we can close for now -- this was due to a talk with @daniel-j-h about how we could possibly always guarantee the byte order of data in the geometry point struct. I am not sure this is critical, but we could just leave it open for discussion. @joto @artemp