Skip to content

v0.10.0

Latest

Choose a tag to compare

@HajkD HajkD released this 03 Nov 11:07
· 10 commits to master since this release

Version 0.10.0

Updates

Major Refactoring Release thanks to @brownag!
In addition to a general code refactoring and new templating architecture, the main new feature is multi-core (parallel) processing of distance computations. This is a long-awaited feature which we hope will further enrich the user experience.

Main new features:

  • The core distance calculation engine has been refactored to use C++ template metaprogramming and RcppParallel. This provides significant speed and memory usage improvements for distance(), dist_one_many(), and dist_many_many(). (see PR #40 by @brownag)

  • Default values for optional arguments (like p for the Minkowski distance) have been updated from NA to NULL in the R function signatures to better align with the C++ backend.

Version 0.9.0

Updates

  • Documentation

Version 0.8.0

Updates

Fixing warning on Debian systems:

Result: WARN 
  Found the following significant warnings:
    RcppExports.cpp:865:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:899:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:933:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:967:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/philentropy.Rcheck/00install.out’ for details.
  * used C++ compiler: ‘Debian clang version 17.0.5 (1)’
  • The solution was to implement this quick fix by reinstalling Rcpp v1.0.11.6 via devtools::install_github("https://github.com/RcppCore/Rcpp") and rerun Rcpp::compileAttributes().