Skip to content

v8.0

Latest

Choose a tag to compare

@r-devulap r-devulap released this 03 Dec 08:51
a96a61d

Highlights

  • Windows MSVC support: x86-simd-sort can now be built with MSVC on Windows (#220). The README now documents compiler compatibility (#232).
  • NaN placement control: A new trailing_nans parameter controls where NaNs end up in sort results (#235).
  • Const-correct argsort and argselect: argsort and argselect now take const T* inputs, and the std::remove_const_t workarounds are gone (#229, #230, #231).
  • Key-value partial sort in the C API: The C API now exposes key-value partialsort (#241).
  • AVX2 fallback for static methods: When compiled with only -mavx512f, static methods now fall back to AVX2 instead of failing with #error (#212).

Correctness fixes

  • Signed zeros (+0.0 and -0.0) are now preserved in floating-point SIMD sorting networks (#244).
  • argsort's sorted-input check now handles a runtime descending flag correctly (#246).
  • Fixed unbounded recursion in keyvalue_sort when the left partition is empty in the AVX-512 pivot selection (#245).

Build and compiler compatibility

  • Fixed an LTO build failure on GCC 16 with multi-target dispatch (#225).
  • partial_qsort<_Float16>, qsort<_Float16> and qselect<_Float16> are marked maybe_unused, which silences unused warnings (#215, #216).
  • object_qsort is now generic in its array-size type (#207).
  • Converted CRLF line endings to LF (#227).

Benchmarks and CI

  • Benchmarks can now swap std::sort for other routines and lock the ISA (#247).
  • Benchmarks no longer use the deprecated benchmark::internal::Benchmark (#242). RegisterBenchmarkInternal now uses std::unique_ptr (#214).
  • CI updates:
    • Updated the Intel SDE version and fixed its download failures (#213, #238).
    • Fixed the CI runners after the repository moved to the numpy namespace (#226).
    • NumPy CI now installs dependencies via pyproject dependency groups (#243).
  • Added a DeepWiki badge to the README (#237).

New contributors

Welcome to @stratakis, @AnkitAhlawat7742, @LittlePyx, @Dhruvdesai793 and @icfaust.

Full Changelog: v7.0...v8.0