3 ms·
Why would a rust arena allocator be required to have objects all of the same type in it? No C arena allocator would have such a restriction.
by knome 2y ago
Why would a rust arena allocator be required to have objects all of the same type in it? No C arena allocator would have such a restriction.
- Rusky 2y agoIt wouldn't. For some reason in Rust people tend to apply the term "arena" to "vector + indices" as well as the proper definition, which does have that restriction.