bisect
Bisection algorithms ported from Python
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install bisect
choosenim install bisect
git clone https://github.com/berquist/bisect
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| bisect | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/berquist/bisect |
|---|---|
| Homepage | https://github.com/berquist/bisect |
| Registry Source | nimble_official |
README
bisect
Bisection algorithms ported from Python
Examples
import bisect
assert bisectLeft([1, 1, 2, 2], 2) == 2
assert bisectRight([1, 1, 2, 2], 2) == 4