-
Notifications
You must be signed in to change notification settings - Fork 2
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
naive performance benchmarks #8
Comments
Thanks for this benchmarking feedback. First of all, none of the code has been optimized for speed. Having said this, I always try to be careful not to waste cycles. It's not obvious to me how to speed it up, but there are a few method dispatching usages of |
Also, when assigning by index, there is a need to create a new dummy/auxillary variable internal of the list environment. This is done on-the-fly using |
Great, thanks for the feedback. I really just wanted to pass along the idea. I'll try to play with it in |
About list environments: About lists (not list environments): If you know the length upfront, it's significantly faster to pre-allocate a |
… exported [#8]. map() is used by future package, so still needs to be exported.
Thanks so much for
listenv
. It is a great idea, and I have enjoyed using already. I am in over my head, but I thought some naive performance benchmarks would be interesting, sinceenvironment
usually offers a big performance boost (see http://jeffreyhorner.tumblr.com/post/117059271933/hash-table-performance-in-r-part-iv)The text was updated successfully, but these errors were encountered: