Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #22 Also some minor refactoring with an eye towards speed and simplicity. We get between 5 and 10% faster, even accounting for all the overhead of raising exceptions: +----------------+---------------+------------------------------+ | Benchmark | masterresults | issue22results | +================+===============+==============================+ | trivial commit | 14.9 us | 13.2 us: 1.12x faster (-11%) | +----------------+---------------+------------------------------+ | max retries | 16.0 us | 15.1 us: 1.06x faster (-5%) | +----------------+---------------+------------------------------+
- Loading branch information
Showing
3 changed files
with
196 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.