Skip to content

Performance optimizations suggested by Claude.ai#279

Merged
jlblancoc merged 3 commits intomasterfrom
feat/claude-optimizations
Dec 22, 2025
Merged

Performance optimizations suggested by Claude.ai#279
jlblancoc merged 3 commits intomasterfrom
feat/claude-optimizations

Conversation

@jlblancoc
Copy link
Owner

@jlblancoc jlblancoc commented Dec 22, 2025

Benchmark results: time gains in both kd-tree build and query:

  • Observe new optional macro NANOFLANN_NODE_ALIGNMENT, defaulting to 16 bytes.
  • middleSplit_(): Single-pass min/max computation for candidate dimensions.
  • planeSplit(): Dutch National Flag algorithm for three-way partitioning
image image

@codecov
Copy link

codecov bot commented Dec 22, 2025

Codecov Report

❌ Patch coverage is 86.40777% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.07%. Comparing base (ce38bbd) to head (4effd9d).

Files with missing lines Patch % Lines
include/nanoflann.hpp 86.40% 14 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
- Coverage   84.25%   84.07%   -0.19%     
==========================================
  Files           1        1              
  Lines         705      722      +17     
  Branches      130      126       -4     
==========================================
+ Hits          594      607      +13     
- Misses        111      115       +4     
Files with missing lines Coverage Δ
include/nanoflann.hpp 84.07% <86.40%> (-0.19%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jlblancoc jlblancoc changed the title Misc performance optimizations by Claude Performance optimizations suggested by Claude.ai Dec 22, 2025
@jlblancoc jlblancoc merged commit 6ac7fa0 into master Dec 22, 2025
16 of 17 checks passed
@jlblancoc jlblancoc deleted the feat/claude-optimizations branch December 22, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant