You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under cases where v2::words live in a packed structure, pointer lookups to underlying integer can be an issue.
It seems that inline methods are happier than external functions such as operator==(lhs, rhs) in this situation.
This implies that inline methods somehow are OK with a mis-aligned this pointer. More exploration is needed:
Use a packed struct of foreign endian v2::word
See if indeed inline methods are that much happier, and if so, why - i.e. doing word math on an off-alignment value one would think would be similarly disruptive regardless of inline method or not, so see what, if any, the difference is
The text was updated successfully, but these errors were encountered:
Under cases where v2::words live in a packed structure, pointer lookups to underlying integer can be an issue.
It seems that inline methods are happier than external functions such as operator==(lhs, rhs) in this situation.
This implies that inline methods somehow are OK with a mis-aligned this pointer. More exploration is needed:
The text was updated successfully, but these errors were encountered: