scanline-simd 0.1.0

Vectorised scan predicates for Scanline — AVX-512, AVX2, NEON, and a portable fallback behind one safe API.
Documentation
  • Coverage
  • 100%
    17 out of 17 items documented0 out of 11 items with examples
  • Size
  • Source code size: 15.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 276.0 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1s Average build duration of successful builds.
  • all releases: 1s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • JosephScript
scanline-simd-0.1.0 has been yanked.

Vectorised scan predicates.

Every public entry point here is safe and dispatches at runtime to the widest instruction set the host actually supports, falling back to a portable implementation. The unsafe surface is confined to the per-backend modules.

Correctness invariant

Each backend must return exactly what the scalar oracle returns, for every input length — including lengths that are not a multiple of the vector width. Handling that tail is the single easiest thing to get wrong here: an implementation built only from chunks_exact(N) silently undercounts, since chunks_exact discards the remainder. Every backend below therefore pairs its vector loop with an explicit scalar pass over chunks_exact(..).remainder().