You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 96a8b95
Browse filesBrowse the repository at this point in the historyBrowse files
speed up bounds-checked element access and cache vector lengths (#1511)
* speed up bounds-checked element access and cache vector lengths
Closes#1510.
* update NEWS
* keep vector and matrix layouts unchanged
Caching the length in proxy_cache and the column count in Matrix added
data members, changing the layout of List, CharacterVector and Matrix.
Packages pass these by reference across shared libraries compiled
against different Rcpp versions: rust hands a List to revdbayes through
an XPtr function pointer, and lite, threshr and evmissing reach the same
path. In the 2026-10-06 reverse-dependency run revdbayes read a size
that rust never wrote and failed name lookup with 'Index out of bounds'.
ncol() is now derived from the cached length and nrow(), and proxy_cache
reads the length on demand; only the cold warning helper and the cached
atomic-vector length remain.
* update copyright headers
0 commit comments