Skip to content

Use reflection for maps#11

Draft
philpearl wants to merge 1 commit intomasterfrom
reflectmap
Draft

Use reflection for maps#11
philpearl wants to merge 1 commit intomasterfrom
reflectmap

Conversation

@philpearl
Copy link
Owner

We're expecting a change to Go maps in 1.24. This may cause us some issues. So here we've converted the map code to use reflection, which should work unchanged.

This code is quite a bit slower and allocates more, so it's not clear it's the right choice

We're expecting a change to Go maps in 1.24. This may cause us some issues.  So here we've converted the map code to use reflection, which should work unchanged.

This code is quite a bit slower and allocates more, so it's not clear it's the right choice
@philpearl philpearl marked this pull request as draft February 10, 2025 16:38
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.

1 participant