6 ms·Exactly. Bubble-sort is really fast for more-or-less pre-sorted data. But it's terrible in the worst case.by wisty 15y agoExactly. Bubble-sort is really fast for more-or-less pre-sorted data. But it's terrible in the worst case.