This code https://github.com/CMA-ES/moarchiving/blob/22c15def0e19542045a38177b193bc5bcbcd783e/moarchiving/moarchiving.py#L691-693 should probably use `_bisect ` to find the index (faster).
This code https://github.com/CMA-ES/moarchiving/blob/22c15def0e19542045a38177b193bc5bcbcd783e/moarchiving/moarchiving.py#L691-693 should probably use
_bisectto find the index (faster).