4 ms·
Alternatively, use offset values instead of internal pointers. Now your structs are trivially relocatable, and you can use smaller integer types instead of poi
by 10000truths 4y ago
Alternatively, use offset values instead of internal pointers. Now your structs are trivially relocatable, and you can use smaller integer types instead of pointers, which allows you to more easily catch overflow errors.
- anonymoushn 4y agoThis is a good idea, but native support for slices tempts one to stray from the path.