11-22-2013, 07:52 AM
To be more specific about why 18k hook calls is such a big number - that translates to 360k calls per second, and each such call needs to lock a CS for the plugin. Now imagine there are two worlds (normal and nether), each calling this hook, on a single-core machine. You get a whopping 360k context switches per second, this is normally impossible, current CPUs can handle some 20k context switches per second.
(wanted to post this immediately afterwards, but the forum died)
(wanted to post this immediately afterwards, but the forum died)