deque.py icon indicating copy to clipboard operation
deque.py copied to clipboard

Optimisations

Open momoladebrouill opened this issue 3 years ago • 0 comments

  1. Functions re-defined I placed the definitions of the functions out of the loop so that it's doesn't get re-defined at each instruction.
  2. No more ip+=1 everywhere I've remove the ip+=1 and placed at the end of the loop so that's it's written once. To avoid the addr error, i've set it to addr-1 so when ip+=1 comes, ip is well set to addr-1+1 == addr

momoladebrouill avatar Jun 22 '22 12:06 momoladebrouill