Dict parsing question

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Tue Dec 19 20:00:11 UTC 2023


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.


More information about the dbus mailing list