You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Swift Package Index (.spi.yml) configuration for hosted DocC documentation (documentation_targets: [Bandal]).
Multi-platform deployment support in Package.swift (.macOS(.v14), .iOS(.v17), .tvOS(.v17), .visionOS(.v1)).
Comprehensive DocC documentation comments (///, - Parameters:, - Returns:, - Throws:) across all Bandal, BandalBenchmarks, and BandalPandasBenchmark source files, plus 8 DocC articles and complete symbol curation in Sources/Bandal/Bandal.docc/.
Scripts/benchmark.sh: pandas vs Bandal (native Swift, MLX CPU, MLX GPU) comparison that provisions a uv environment, builds the BandalPandasBenchmark target (Sources/BandalPandasBenchmark/main.swift), and prints computation-only timings with checksum verification.
Performance
rolling / expandingsum, mean, count use a native single-pass O(n) kernel (Neumaier-compensated for sliding windows) instead of MLX prefix sums, now 2.6x (rolling) and 5x (expanding) faster than pandas on 1M–5M rows in all execution policies.
Element-wise +, -, *, / and sqrt use a single-pass SIMD kernel that folds the finite check into the write loop, and the native-policy fallback shares it; sqrt/sign no longer use the GPU Float32 path. arithmetic_sqrt is now ≥ 1.05x vs pandas in all policies.