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

You can always statically initialize them with 0:

    static float[10] array = 0.0;