[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Dict parsing question
From:       Lawrence D'Oliveiro <ldo () geek-central ! gen ! nz>
Date:       2023-12-19 19:59:38
Message-ID: 20231220090011.4c97ea77 () theon ! geek-central ! gen ! nz
[Download RAW message or body]

On Tue, 19 Dec 2023 15:21:01 +0000, Thomas Kluyver wrote:

> On Mon, 18 Dec 2023, at 07:05, Lawrence D'Oliveiro wrote:
>>
>> Is that really the case, that elements of a dict
>> structure have a _greater_ alignment requirement than the structure
>> itself? How is that supposed to work, exactly?  
> 
> I don't think there's any great difficulty there?

So either the offset of the element from the start of the
containing structure can give insufficient alignment in certain cases,
or that offset can vary depending on the location of the structure in
memory. Neither seems very satisfactory.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic