mirror of
https://github.com/bspeice/speice.io
synced 2024-11-05 01:28:09 -05:00
Note on how I want to structure the heap section
This commit is contained in:
parent
a134b5278b
commit
daa441cc97
@ -567,6 +567,9 @@ Questions:
|
||||
4. Other pointer types? Do Rc<>/Arc<> force heap allocation?
|
||||
- Maybe? Part of the alloc crate, but should use qadapt to check
|
||||
5. How many allocations happen before `main()` is called?
|
||||
6. How can you use the heap well?
|
||||
- Know when collections resizing happens
|
||||
- Use `Borrow` to abstract over Pointer/Box/Rc/Arc/CoW
|
||||
|
||||
# Compiler Optimizations Make Everything Complicated
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user