Message76084
| Author |
rhettinger |
| Recipients |
mark.dickinson, rhettinger, tebeka |
| Date |
2008年11月20日.00:05:08 |
| SpamBayes Score |
7.96825e-06 |
| Marked as misclassified |
No |
| Message-id |
<1227139510.59.0.891601230701.issue4356@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|