Weaken the 3 or less sort and fix binary search
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 23 Feb 2024 11:13:25 +0000 (12:13 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 23 Feb 2024 11:13:25 +0000 (12:13 +0100)
commit9c7edcabd7a1bc2ac9362d009ea483a5fdb610e3
tree8f8cfe10061b34bde2bd540ca94f3de1fc1fef78
parent1c1344add3119e01a319ac19718bfce5cffca909
Weaken the 3 or less sort and fix binary search

The a_sort_three_or_less function needs not to rotate,
as the a stack will be rotated many times during the insertion.
src/push.c