]> git.dkaiser.de - 42/push_swap.git/commit
Add stack optimization
authorDominik Kaiser <dkaiser@2-E-4.42heilbronn.de>
Sat, 13 Apr 2024 14:29:20 +0000 (16:29 +0200)
committerDominik Kaiser <dkaiser@2-E-4.42heilbronn.de>
Sat, 13 Apr 2024 14:29:20 +0000 (16:29 +0200)
commit4428c51329562af9feb26860b56b8b39191ac18b
tree12eeba8f41c6aab5dbdbc2a56c0552fa0cd6653f
parent40025011f834660beba759864f3f59552acbeecd
Add stack optimization

I want to use lsd radix sort which only works with positive numbers.
The added functions optimize the stack so it is only positive numbers.
As we don't need the actual contents of the stack, we can just override.
optimization.c