Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Ono-Sendai
10y ago
0 comments
Save
Share
You can allocate stuff on the stack.
0 comments
2 comments · 1 top-level
top
newest
oldest
schneems
10y ago
· 1 in thread
Allocating things on the stack is still allocating things? It's faster to mutate than to allocate?
Ono-Sendai
OP
10y ago
Allocating stuff on the stack is basically free. You just have to decrement the stack pointer.
j
/
k
navigate · click thread line to collapse