As many of the community know, I'm currently debugging WorldEditArt. However, there comes a very strange issue with the control flow reported here. In short, when making hyper-large selections the server goes into a (possibly infinite, possibly very large) loop when a player runs the command //pos2 after selecting position 1 far away, resulting in a cuboid selection of 50000+ blocks. I'm puzzled about the issue since there isn't a loop triggered only by a large number of blocks selected. Anyone has an idea what's going on? I suspect it has something to do with number size limits in PHP since this is the only limit I can think of. Yet, this is not an explanation I'm satisfied with. Can someone please help finding the cause of the issue?
Found the cause. https://github.com/PEMapModder/Small-ZC-Plugins/issues/5 Download https://github.com/PEMapModder/Smal.../WorldEditArt/bin/WorldEditArt_dev_build.phar and make a hyper-large selection; you'll see the server is constructing millions of objects of Position and WeakRef, thus lagging greatly. Terrible -_- can only be solved by adding a count() method. We can only blame PHP for this; even without constructing an object it takes 10 seconds to select a mountain.