Skip to content

Conversation

@eddelbuettel
Copy link
Member

No description provided.

@eddelbuettel eddelbuettel requested a review from Copilot October 28, 2025 10:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates RcppArmadillo from version 15.2.0-0 to 15.2.1-0, incorporating Armadillo library version 15.2.1. The primary focus is performance optimization for submatrix operations, particularly for single-row submatrices.

Key Changes:

  • Optimized memory access patterns for subview_row operations by introducing a rowmem pointer
  • Added new utility methods (fill, zeros, ones, is_finite, has_inf, has_nan) to subview_row and subview_col classes
  • Simplified loop implementations to improve performance

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
inst/include/current/armadillo_bits/subview_meat.hpp Core implementation changes including optimized memory access, new utility methods, and simplified loop structures
inst/include/current/armadillo_bits/subview_bones.hpp Added method declarations and rowmem member variable to support optimizations
inst/include/current/armadillo_bits/op_accu_mat.hpp Updated accumulation operations to use optimized memory access patterns
inst/include/current/armadillo_bits/arma_version.hpp Version bump from 15.2.0 to 15.2.1
inst/NEWS.Rd Documentation of new release with performance improvements
configure.ac, configure, DESCRIPTION, ChangeLog Version and metadata updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@eddelbuettel eddelbuettel merged commit 9a1d3ac into master Oct 28, 2025
6 checks passed
@eddelbuettel eddelbuettel deleted the feature/arma_15.2.1 branch October 28, 2025 10:49
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.

2 participants