Message197317
Thank you Claudiu very much for writing a patch; I was expecting to
have to do that myself!
Serhiy, you're right groupby is a better fit for this. It does mean a
bit of reworking for the (more complicated) sum function I'm working
on but I've just checked with timeit and it performs very well using
the type function as a predicate. I think it might make the function a
few times faster than takewhile in my common cases for reasons that
are particular to this problem.
Raymond, thanks for taking the time to consider this. I agree that it
should now be closed. |
|
Date |
User |
Action |
Args |
2013-09-08 20:16:04 | oscarbenjamin | set | recipients:
+ oscarbenjamin, rhettinger, Claudiu.Popa, serhiy.storchaka |
2013-09-08 20:16:03 | oscarbenjamin | link | issue18821 messages |
2013-09-08 20:16:03 | oscarbenjamin | create | |
|