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:
The following figure shows the performance of all implementations with similar performance:
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:
The following figure shows the performance of all implementations with similar performance:
The following figure shows the performance of the dictionary versions:
The following figure shows the performance of all implementations with similar performance:
The following figure shows the performance of the dictionary versions:
The following figure shows the performance of all implementations with similar performance: