Alec Matusis wrote:
> Our code gets references to 8 or 16 byte structs by casting pointers into
> LMDB data.
>  1. In a database with no DUPs and 8 byte (u64) keys, can we expect the
> corresponding value to have alignment 8?

As documented, LMDB only guarantees 2-byte alignment, that's all we will ever 
promise.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to