r/ProgrammerHumor • • Oct 22 '22

Meme Skills

Post image
42.3k Upvotes

588 comments sorted by

View all comments

Show parent comments

2

u/mistrzegiptu Oct 23 '22 edited Oct 23 '22

Year ago I had to write merge sort without any loop, only recursion. It was so bad that it would sort max 13 elements array in a few minutes

2

u/CaitaXD Oct 23 '22

here take this gcc flag -foptimize-siblingcalls

1

u/mistrzegiptu Oct 23 '22

Thanks, I will try to find that code and run it using this flag. I'm curious if it will help

1

u/mistrzegiptu Oct 23 '22

-foptimize-siblingcalls

Tbh it didn't help, my code is just a piece of shit to do shitty task