-
-
Notifications
You must be signed in to change notification settings - Fork 40
Possible waste of memory #17
Copy link
Copy link
Open
Description
I stumbled across line 5623 in the AllocateAlignedMemory function:
inc(Size,((Align shl 1)+SizeOf(pointer)));
My understanding is that the maximum misalignment is Align-1 bytes.
Therefore the doubling by means of "Align shl 1" is not clear to me or do I miss something?
Kind regards,
Werner
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels