-
Bug
-
Resolution: Incomplete
-
None
-
1.20.70.22 Preview, 1.20.60
-
None
-
Unconfirmed
-
Windows
Same as MC-268417. I appreciate that you can sort entities by distance but why does Minecraft use the Bogosort algorithm? This algorithm is very inefficient unless you are lucky.
To reproduce just run a command with [c=10] like for example /say @e[c=10] multiple times.
Observed Results: The time how long it takes to sort the entities will be random.
Expected Results: The time how long it takes to sort the entities is not random.
- relates to
-
MC-268417 Entities are sorted with Bogosort when using [sort=nearest] and [sort=furthest]
- Resolved