Message76084
Miki, the issue is that bisect calls tend to be made repeatedly, so the
key function can be called over and over again for the same argument.
It is almost always a better design to simply decorate the list so the
key function never gets called more than once per element in the list.
If we added key= to bisect, it would encourage bad design and steer
people after from better solutions. |
|
Date |
User |
Action |
Args |
2008-11-20 00:05:10 | rhettinger | set | recipients:
+ rhettinger, tebeka, mark.dickinson |
2008-11-20 00:05:10 | rhettinger | set | messageid: <1227139510.59.0.891601230701.issue4356@psf.upfronthosting.co.za> |
2008-11-20 00:05:09 | rhettinger | link | issue4356 messages |
2008-11-20 00:05:08 | rhettinger | create | |
|