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

Exercise 19.3 Q2 Different Conclusion #290

Open
nealxun opened this issue Aug 10, 2023 · 0 comments
Open

Exercise 19.3 Q2 Different Conclusion #290

nealxun opened this issue Aug 10, 2023 · 0 comments

Comments

@nealxun
Copy link

nealxun commented Aug 10, 2023

Try to replicate the performance comparison between apply(x, 1, sum) and rowSums(x). It seems that the result I got indicates the running time gain is independent of the size of x. Is it due to apply function has a new version or is it related to the specific computer system I'm using.

Below is my system info and attached is the result comparison graph.
R version 4.2.3 (2023-03-15)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.3.1

Screenshot 2023-08-10 at 3 45 18 PM

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

1 participant