Tatianka/alg-vis — comment on commit 1f83618ae5b2790a8cc78bd1555502d73c4d58b5
File: src/algvis/reversals/Reversal.java line 172
By kuk0:

why do you create new nodes and recalculate their positions all the time?
create them once; position them and then only change the positions when necessary
you could also animate the reversal of middle part of the array