bidict/docs/performance.rst

23 lines
668 B
ReStructuredText

.. _performance:
Performance
===========
bidict strives to be as performant as possible
while being faithful to its purpose.
In general,
accomplishing some task using bidict
should have about the same performance
as keeping two inverse dicts in sync manually,
plus some small overhead
for the extra function calls and syntax sugar.
If bidict ever fails to achieve
equivalent asymptotic time and space complexity
for general use cases,
it should be considered
a bug or performance regression
and `reported <https://github.com/jab/bidict/issues/new>`_
in the `issue tracker <https://github.com/jab/bidict/issues>`_.
Now let's check out the :ref:`other-bidict-types`.