Skip to content

rcpphnsw 0.3.0

Compare
Choose a tag to compare
@jlmelville jlmelville released this 06 Sep 15:18
· 97 commits to master since this release

New features

  • Multi-threading support is now available. Use the setNumThreads method if using the object-based API, and the n_threads parameter in the hnsw_* function API. For finer control, a setGrainSize and grain_size option is also available in the object and function interface respectively. Thank you to Dmitriy Selivanov for a lot of the work on this.
  • Updated hnswlib to version 0.4.0.

Bug fixes and minor improvements

  • Setting verbose = TRUE now has incurs substantially less computational overhead associated with calculating the progress bar. Thank you to Samuel Granjeaud for spotting the problem and coming up with various solutions.
  • New parameter: progress. By default this is set to "bar" and will show the progress bar when verbose = TRUE. If you want a more terse output, set progress = NULL. progress = NULL will eventually be the default setting: for now, verbose = TRUE will get you the progress bar by default for backwards compatibility.
  • No progress bar will be shown if you have less than 50 items to process.