Skip to content

perf: optional FFI-backed BLAS backend for multiply/sum #11

Description

@lisachenko

The original README roadmap mentioned "native SSE/AVX assembly methods". A realistic modern take: bind libopenblas/cblas via FFI as an optional fast path for multiply() and sum() on large matrices, keeping the pure-PHP loops as the portable fallback (feature-detect the shared library at bootstrap).

Scope: experimental; should ship with a performance-group benchmark comparing both paths, and must not add a hard dependency — the library stays pure-PHP by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions