Files
DeltaZern/patches/server
Spottedleaf f9b1c374e4 Replace SimpleRandom with (Simple)ThreadUnsafeRandom
ThreadUnsafeRandom is a random implementation that is
identical to LegacyRandomSource behaviourally, but
without the thread checks.

SimpleThreadUnsafeRandom is ThreadUnsafeRandom except with
its nextInt(int) function replaced with a faster
but more biased implementation when bound is very large.

Additionally, replace Level/Entity randoms with ThreadUnsafeRandom.
This avoids the expensive CAS logic at the expense of losing the
thread check.
2024-11-27 06:16:27 -08:00
..
2024-10-25 00:08:35 +02:00
2024-10-25 00:08:35 +02:00
2024-10-25 18:08:28 +02:00
2024-10-23 23:35:21 +02:00
2024-10-25 00:08:35 +02:00
2024-10-25 12:28:34 +02:00
2024-10-25 12:28:34 +02:00
2024-10-25 00:08:35 +02:00
2024-10-25 12:28:34 +02:00
2024-10-25 17:08:48 +02:00
2024-10-25 00:08:35 +02:00
242
2024-10-23 12:32:08 +02:00
2024-11-23 20:09:34 +01:00
2024-10-25 13:19:23 +02:00
2024-11-21 10:43:07 +01:00
2024-10-25 12:28:34 +02:00
2024-10-25 00:08:35 +02:00
2024-10-25 12:24:15 -07:00
2024-10-24 23:03:27 +02:00
2024-10-27 18:11:15 +01:00
2024-10-22 23:30:51 +02:00
2024-10-22 20:04:31 +02:00
2024-10-25 18:08:28 +02:00
2024-10-27 18:11:15 +01:00
2024-10-25 00:08:35 +02:00
2024-10-25 00:08:35 +02:00
2024-10-24 23:03:27 +02:00
2024-10-25 00:08:35 +02:00
2024-10-26 18:03:25 +02:00
2024-10-25 12:28:34 +02:00
2024-11-25 20:18:47 +01:00
2024-10-25 12:28:34 +02:00
2024-10-25 13:52:04 +02:00
2024-10-25 00:08:35 +02:00
2024-10-25 14:55:49 +02:00
2024-10-25 17:08:48 +02:00
2024-10-25 13:19:23 +02:00
2024-10-22 20:04:31 +02:00
2024-10-25 18:08:28 +02:00
2024-10-25 14:55:49 +02:00
2024-10-27 18:11:15 +01:00
2024-10-24 19:29:35 +02:00
2024-10-25 12:28:34 +02:00