Insert-MinGap PerformanceΒΆ

The tests measure the performance of sets and dicts with integer keys. The following implementation are compared:

The following figures show the running time of inserting integers one by one into a set and, and finding the minimum gap of the inserted integers in the set after each insertion, as a function of the number of integers (see _set_insert_MinGap.py for the source).

The following figure shows the performance of all the implementations:

_images/IntSetInsertMinGapAllWithMinGapUpdator.png

The following figure shows the performance of all implementations with similar performance:

IntSetInsertMinGapAllNoBListBTreesWithMinGapUpdator.png

This Page