Skip to content

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Oct 9, 2023

Description of Changes

Instead of having one Box around the key_ty and one around the (value) ty, we have one around the entire ´MapType. Why? Because both values tend to be accessed together so having one Box is more cache friendly. Moreover, this enables shrinking AlgebraicTypelater on, asBoxis 8 bytes vs. the oldMapType` being 16 bytes.

Extracted from #156.

API and ABI

  • This is a breaking change to the module ABI
  • This is a breaking change to the module API
  • This is a breaking change to the ClientAPI
  • This is a breaking change to the SDK API

If the API is breaking, please state below what will break

Copy link
Contributor

@mamcx mamcx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Centril Centril merged commit 099d0b8 into master Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants