Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <skyboy> FOUND IT
- <skyboy> fucking hell
- <Drullkus> ?
- <skyboy> the source of the bad wordlgen lag in 1.7
- <skyboy> there's a one fucking character difference in the code between 1.7 and 1.6
- <skyboy> >= became ==
- <skyboy> and performance went to shit
- <skyboy> because now hundreds of changes go through a slow method, where before they went through a fast method
- <Drullkus> Damn
- <skyboy> !gm sendChunkUpdate 1.7.10
- <Drullkus> skyboy: Like, THIS WHOLE TIME
- <Drullkus> IN 1.7.10 MODDING?!
- <skyboy> oh god damn it someone renamed it
- <Drullkus> Damn
- <skyboy> it's 1 character
- <skyboy> literally 1 character
- <Drullkus> The power of typos, man
- <skyboy> with tens of thousands of lines of code to pour through
- <skyboy> i've been hunting loosely for it for 3 months or so
- <Drullkus> O_____o
- <skyboy> and in the last couple hours i started really, really inspecting the block change packets
- <skyboy> found a S22PacketMultiBlockChange that had 4 fucking thousand entries
- <Drullkus> o___o
- <skyboy> every block gets set, 1 by 1, every block updates all 6 blocks near it which in turn check all 6 blocks near them, every block recalculates sky light and immediate lighting changes
- <skyboy> all told, every block passing through that packet will read or alter around a thousand blocks
- <Drullkus> Damn
- <Drullkus> At least the error was found...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement