Re: pack-objects memory use observations [was: [PATCH] delta-islands: free island-related data after use]
- From
- Eric Wong <e@80x24.org>
- Date
- Feb 1, 2023, 22:09 UTC
- Message-ID
- <20230201220929.M549554@dcvr>
- In-Reply-To
- <20230201092027.M96461@dcvr>
Eric Wong <e@80x24.org> wrote:
> [1] WIP oidtree map, but I feel like I forgot C, again :<
Well, it hasn't crashed. It's just much slower compared to khash.
I'm thinking `struct object_id' should be pooled+deduplicated like hash keys in the Perl/Ruby interpreters and we'd pass 4/8-byte pointers instead of 36-byte structs.