4 ms·
I don't know if it would be good enough,and there's certainly not a big reason for you to try, given your solution works great; but you could probably modify et
by toast0 8y ago
I don't know if it would be good enough,and there's certainly not a big reason for you to try, given your solution works great; but you could probably modify ets to give you the slot number where it inserted/removed and use that as a non-exact indicator of where in the sequence it was. (Depending on how accurate you need it to be, this might work?)