from @spiral-ladder comment https://github.com/ChainSafe/state-transition-z/pull/28#discussion_r2239663278 note that this is also used in bun binding so need to assess how it affect performance there ```zig export fn pubkeyIndexMapGet(nbr_ptr: u64, key: [*c]const u8, key_length: c_uint) c_uint { if (key_length != PUBKEY_INDEX_MAP_KEY_SIZE) { return NOT_FOUND_INDEX; } const instance_ptr: *PubkeyIndexMapU32 = @ptrFromInt(nbr_ptr); const value = instance_ptr.get(key[0..key_length]) orelse return NOT_FOUND_INDEX; return value; } ```