Programming Language Theory Flashcard
How to utilize the property of word-aligned addresses to optimize number
Books
Deckcompiler implementation
Question
How to utilize the property of word-aligned addresses to optimize number's placements?
Answer
In languages that mostly allocate memory for objects on the heap.
These memory should in most case be word-aligned.
-> The pointers would contain
00at the end.-> Use this as a tag to differentiate numbers.