2 ms·
I would be very surprised if it weren't. The zip version has the hot path written in C, the other version has it written in Python with a bunch of exception han
by StavrosK 13y ago
I would be very surprised if it weren't. The zip version has the hot path written in C, the other version has it written in Python with a bunch of exception handling/list assignment code, etc. The original method is just zip(iterator, iterator, iterator), which is probably as fast as anything can be.