Message234205
| Author |
rhettinger |
| Recipients |
rhettinger, serhiy.storchaka |
| Date |
2015年01月17日.23:52:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1421538745.45.0.265538821787.issue23259@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Even in the mesh algorithm, we let resizing periodically clean-up the dummies. The idea is to not pay the freeslot tracking cost on every lookup and instead only clean-up periodically (which would likely give better performance for the mesh algorithm as well, since making a single pass clean-up during resizing is cheaper than doing multi-step tracking for every insertion). The slots do get reused, just not immediately.
Also, the idea is to not let the possibility of pop-change-update algorithms create a cost for the more common uses of sets (uniquification, fast membership testing, and set-to-set operations such as union, intersection, and difference). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年01月17日 23:52:25 | rhettinger | set | recipients:
+ rhettinger, serhiy.storchaka |
| 2015年01月17日 23:52:25 | rhettinger | set | messageid: <1421538745.45.0.265538821787.issue23259@psf.upfronthosting.co.za> |
| 2015年01月17日 23:52:25 | rhettinger | link | issue23259 messages |
| 2015年01月17日 23:52:25 | rhettinger | create |
|