Skip to content

Conversation

RacoonDog
Copy link
Contributor

noticed that /clisten add minecraft:section_blocks_update instantly froze the game when in reflection mode

i made explicit serialization code paths for some common complex classes:

  • Item
  • Block
  • EntityType
  • BlockState

i also improved the overall performance of the reflective serialization code by reducing the allocation rate

Copy link
Collaborator

@xpple xpple left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@Earthcomputer
Copy link
Owner

i also improved the overall performance of the reflective serialization code by reducing the allocation rate

Did you profile this to make sure it was a problem? This looks like a premature optimization to me.

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