Skip to content

core

laser.cholera.core

Stub compute re-export — falls back to a pure-Python implementation when no C extension is available.

The optional _core C extension exposes a fast compute(args). When the extension is not present (e.g. plain wheel install without the C build), a trivial pure-Python fallback that returns the longest argument is provided so importers do not have to branch on the extension's availability.