Why Nostr? What is Njump?
2025-03-30 13:38:09
in reply to

Chris [list of emoji] on Nostr: nprofile1q…hch8f The reason for that is twofold: 1. In normal allocation, the ...



The reason for that is twofold:

1. In normal allocation, the program's just going to reuse that memory anyway. (But some system libs will let you tweak this.)

2. Those underlying memory shenanigans usually make this irrelevant.

In my example, the system never actually allocates memory pages for that 1MiB of RAM I allocated, and it won't until something touches it. (And then, it'll only be the page containing the address I touch.)

(ctd)
Author Public Key
npub1y9sm8lpfk08w6rhlqdx65qpmpdhggsj9wysxx6h04v5yqe29q29s9xd2j5