An open API service indexing awesome lists of open source software.

https://github.com/rabestro/intervals-lab

Binary algorithm to create intervals from numbers sequence
https://github.com/rabestro/intervals-lab

Last synced: 7 months ago
JSON representation

Binary algorithm to create intervals from numbers sequence

Awesome Lists containing this project

README

          

## Speed Test

### 10_000_000 / 1_000_000 / 50

BinaryPrinter: 00:00:00.026
SimplePrinter: 00:00:00.531

BinaryPrinter: 00:00:00.022
SimplePrinter: 00:00:00.561

BinaryPrinter: 00:00:00.032
SimplePrinter: 00:00:00.545

### 10_000_000 / 100_000 / 50

BinaryPrinter: 00:00:00.065
SimplePrinter: 00:00:01.275

BinaryPrinter: 00:00:00.066
SimplePrinter: 00:00:01.252

BinaryPrinter: 00:00:00.082
SimplePrinter: 00:00:01.307

### 10_000_000 / 10_000 / 50

BinaryPrinter: 00:00:00.315
SimplePrinter: 00:00:00.563

BinaryPrinter: 00:00:00.252
SimplePrinter: 00:00:00.598

BinaryPrinter: 00:00:00.278
SimplePrinter: 00:00:00.578

### 10_000_000 / 100 / 10

BinaryPrinter: 00:00:00.952
SimplePrinter: 00:00:00.308

BinaryPrinter: 00:00:00.995
SimplePrinter: 00:00:00.404

BinaryPrinter: 00:00:00.948
SimplePrinter: 00:00:00.346