Skip to content

Conversation

@tqchen
Copy link
Member

@tqchen tqchen commented Jun 18, 2025

This PR stabliizes the container ABI and implementation.

  • Introduce data field so both MapObj/ArrayObj can be future compact with mutable container
  • Make sure the data delete behavior in DenseMap is cross shared lib safe

We also updated DenseMap impl so that n_slots now directly corresponds to number of slots instead of n_slots - 1, the implementation also no longer depend on slots is power of two.

This PR stabliizes the container ABI and implementation.

- Introduce data field so both MapObj/ArrayObj can be future compact with mutable container
- Make sure the data delete behavior in DenseMap is cross shared lib safe

We also updated DenseMap impl so that n_slots now directly corresponds to number of slots
instead of n_slots - 1, the implementation also no longer depend on slots is power of two.
@MasterJH5574 MasterJH5574 merged commit a35d609 into apache:main Jun 18, 2025
13 checks passed
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.

2 participants