Skip to content

Commit 923c2ac

Browse files
committed
Release notes
1 parent 0e43d8b commit 923c2ac

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# nanoflann 1.5.5: UNRELEASED
2-
- (none yet)
1+
# nanoflann 1.5.5: Released Mar 12, 2024
2+
- Potentially more efficient scheduling of multi-thread index building ([PR #236](https://github.com/jlblancoc/nanoflann/pull/236))
3+
- Bump minimum required cmake version to 3.5 ([PR #230](https://github.com/jlblancoc/nanoflann/pull/230/))
34

45
# nanoflann 1.5.4: Released Jan 10, 2024
56
- Fix outdated NANOFLANN_VERSION macro in header file

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ This parameter is really ignored in `nanoflann`, but was kept for backward compa
197197

198198
This parameter determines the maximum number of threads that can be called concurrently during the construction of the KD tree. The default value is 1. When the parameter is set to 0, `nanoflann` automatically determines the number of threads to use.
199199

200+
See [this pull request](https://github.com/jlblancoc/nanoflann/pull/236) for some benchmarking showing that using the maximum number of threads is not always the most efficient approach. Do benchmarking on your data!
201+
200202
-----
201203

202204
## 3. Performance

include/nanoflann.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1246,8 +1246,8 @@ class KDTreeBaseClass
12461246

12471247
BoundingBox left_bbox(bbox);
12481248
left_bbox[cutfeat].high = cutval;
1249-
node->child1 = this->divideTreeConcurrent(
1250-
obj, left, left + idx, left_bbox, thread_count, mutex);
1249+
node->child1 = this->divideTreeConcurrent(
1250+
obj, left, left + idx, left_bbox, thread_count, mutex);
12511251

12521252
if (right_future.valid())
12531253
{

0 commit comments

Comments
 (0)