Y
Hacker News
new
|
ask
|
show
|
jobs
by
addaon
57 days ago
What's the cost of this in terms of not being able to bzero() simple data structures, or use OS-cleared pages directly without dirtying them? This seems like it would turn some sparse memory usage patterns denseā¦
1 comments
WalterBright
57 days ago
You can always statically initialize them with 0:
static float[10] array = 0.0;
link