Find Performance

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

Integer Sets

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

String Sets

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/StrSetFindAll.png

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

_images/StrSetFindAllNoBList.png

Integer Dicts

The following figure shows the performance of the dictionary versions:

_images/IntDictFindAll.png

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

_images/IntDictFindCompetitive.png

String Dicts

The following figure shows the performance of the dictionary versions:

_images/StrDictFindAll.png

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

_images/StrDictFindCompetitive.png

Table Of Contents

This Page