Make the code check if input is already sorted
authorLukas Jiriste <ljiriste@student.42prague.com>
Tue, 5 Mar 2024 12:57:27 +0000 (13:57 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Tue, 5 Mar 2024 12:57:27 +0000 (13:57 +0100)
commitb7327f66705df6aa164206b3bfbc59526a8370e9
tree0996b8e467d10443c250f9753cf0fc6f5c5cc68c
parent23051026123bbfafe8cf785a67ce447aec835599
Make the code check if input is already sorted

... and not sort it in that case
This is only needed because the program doesn't use LIS for
inputs smaller than 7 elements.
src/push.c
src/special_a.c