git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Struct memory format question


I have implemented structs in Rust as a vector of Arrays. Each nested array
uses a byte-aligned contiguous region of memory, but the array for field 2
is not contiguous with the array for field 1.

Is this "compliant" ?

I have been reading layout.md and I don't think it is clear but it seems to
suggest that all the nested arrays should be contiguous to each other in
memory?

Thanks,

Andy.


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-arrow-development/msg04306.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0006362520{main}( ).../msg04306.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-arrow-development/msg04306.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0006362520{main}( ).../msg04306.html:0