No functionality change intended.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM.
The new version is writing directly to mmaped memory. It is also using a type that in unaligned and may have non-native endian.
But this is code that will likely be revisited once we can link something large enough to benchmark, so yes, lets keep the simpler version for now.
Comment Actions
That's really good point, we probably should use ulittle32_t instead.
Regarding alignment, don't we guarantee that the in-memory object we are
building aligned properly?