8 ms·The question I had is if it shouldn't be using some kind of *= instead of +=, so it's amortized constant time.by ufo 6y agoThe question I had is if it shouldn't be using some kind of *= instead of +=, so it's amortized constant time.