2 ms·It's worth noting that someone replied with a pure python implementation that was a lot faster: 0.283s.by scrollaway 13y agoIt's worth noting that someone replied with a pure python implementation that was a lot faster: 0.283s.