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
Merge pull request #22 from ashvardanian/pointer-tagging
Pointer tagging 🏷️
This PR provides a prototype of a memory-tagging
allocator arena, documenting the complexity of
using memory tagging techniques even on Linux:
- Intel's Linear Address Masking
- AMD's Upper Address Ignore
- ARM's Top Byte Ignore
- ARM's Memory Tagging Extension
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ Some of the highlights include:
26
26
-__How to handle JSON avoiding memory allocations?__ Is it easier with C or C++ libraries?
27
27
-__How to properly use associative containers__ with custom keys and transparent comparators?
28
28
-__How to beat a hand-written parser__ with `consteval` RegEx engines?
29
+
-__Is the pointer size really 64 bits__ and how to exploit [pointer-tagging](https://en.wikipedia.org/wiki/Tagged_pointer)?
29
30
30
31
To read, jump to the [`less_slow.cpp` source file](https://github.com/ashvardanian/less_slow.cpp/blob/main/less_slow.cpp) and read the code snippets and comments.
31
32
Follow the instructions below to run the code in your environment and compare it to the comments as you read through the source.
0 commit comments