Find 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 finding a key in a set as a function of the size of the set (see _set_find.py for the source).

The following figure shows the performance of all the implementations:

_images/IntSetFindAll.png

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

_images/IntSetFindAllNoBList.png

The following figure shows the performance of the dictionary versions:

_images/IntDictFindAll.png

The following figure shows the performance of all the dictionary implementations:

_images/IntDictFindCompetitive.png

This Page