8000 Use Pooled ByteBuffer in SpigotReflectionUtil#decodeBukkitItemStack by MachineBreaker · Pull Request #557 · retrooper/packetevents · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use Pooled ByteBuffer in SpigotReflectionUtil#decodeBukkitItemStack #557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 136 commits into from
Closed

Use Pooled ByteBuffer in SpigotReflectionUtil#decodeBukkitItemStack #557

wants to merge 136 commits into from

Conversation

MachineBreaker
Copy link
Contributor

Using a pooled ByteBuf is more efficient because it avoids the overhead of allocating and deallocating ByteBufs repeatedly. It also reduces memory fragmentation and improves garbage collection efficiency.

retrooper and others added 30 commits August 14, 2021 14:13
Update master branch to a more stable build of PacketEvents.
Try to fix build by updating geyser connector
retrooper and others added 28 commits June 18, 2022 19:44
Fixed WrappedPacketLoginInEncryptionBegin for 1.19+
…going to make login success packet unsendable. (Which means packetevents plugins can't send it using our API, please update to 2.0 if you need this feature)
* feat: add 1.19.1 version support to Client-/ & Server version

* feat: added 1.19.1 support to CLIENT_VERSIONS array

* feat: updated ChatPosition and added little TODO comment

* feat: added `getPlayerUUID` and `setPlayerUUID` to WrappedPacketLoginInStart (still needs SignatureData)

* Added minimal 1.19.1 support, only wrapper complete 1.19.1 support is PlayerInfo.

Won't add the newly 1.19.1 created wrappers as this version is slowly dying

Co-authored-by: retrooper <retrooperdev@gmail.com>
make WrappedPacketOutPlayerInfo#getPlayerInfo playerInfoArray big enough
fixed ArrayIndexOutOfBoundsException
@MachineBreaker
Copy link
Contributor Author

GitHub just killed 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.

0