What is Nostr?
P-Y /
npub19ww…g5sa
2024-05-30 20:56:48
in reply to nevent1q…8ztw

P-Y on Nostr: I think I'm ok paying that cost because looking up a class by name is rare in the ...

I think I'm ok paying that cost because looking up a class by name is rare in the first place, usually just an entry point.

Most of the time we're traversing a heap graph through references, so everything is optimized for that + low memory footprint.

"Low memory footprint" here means key design choices in critical places:

- Sorted arrays with binary search over hash maps and hash set (load factor=>25% wasted space)
- Byte arrays over objects
Author Public Key
npub19wwxc29uufy6rmegf9aza3hkcqdu00s8yyfyhr88mglptysgp3tsz7g5sa