Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested performance improvements in R #141

Open
t-wojciech opened this issue Oct 12, 2022 · 1 comment
Open

Suggested performance improvements in R #141

t-wojciech opened this issue Oct 12, 2022 · 1 comment

Comments

@t-wojciech
Copy link

t-wojciech commented Oct 12, 2022

Recently, there have been several suggestions on R-devel mailing list for improving the R performance. I think it will be good idea to keep these messages here so they don't get lost:

  1. Pre-allocating serialization memory buffers
  2. Enhancements in base R: Some Suggestions from the {collapse} and {kit} Packages
  3. GC: speeding-up the CHARSXP cache maintenance, 2nd try
  4. stats::dendrapply() Enhancements
  5. An alternative algorithm for which()
  6. cwilcox - new version
  7. strcapture performance when perl = TRUE
  8. Big speedup in install.packages() by re-using connections

Feel free to add more information.

Implemented:

  1. as.matrix.dist patch (performance) (wch/r-source@4149881)
@HenrikBengtsson
Copy link
Owner

Thanks for this. I saw your R-devel on serialization the other day. It reminded me of the (unnecessary) slowness of utils::capture.output();

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

No branches or pull requests

2 participants