LanternPowered / Lantern

An open-source Minecraft server that implements the SpongeAPI.
MIT License
108 stars 12 forks source link

Optimize the usage of DataTransactionResults #22

Closed Cybermaxke closed 7 years ago

Cybermaxke commented 7 years ago

Fixes #8

The class transformer is functional, there doesn't seem to be a lot of impact (unnoticable) when class loading. Error logs can still be easily tracked inside the IDE, since only the code per line is being changed. All the code lines in the bytecode are still pointing to the proper line in the source, you will just see a fast method in the error stack and a normal one in the code.

For example: schermafdruk 2017-07-01 17 53 48