Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

making use of data.table GFORCE optimizations #15

Closed
myoung3 opened this issue Sep 29, 2019 · 2 comments
Closed

making use of data.table GFORCE optimizations #15

myoung3 opened this issue Sep 29, 2019 · 2 comments

Comments

@myoung3
Copy link
Member

myoung3 commented Sep 29, 2019

lapply(.SD) do optimizations work within a compound (ie multi-line) j statement?
right now it's a for loop so this isn't making use of the optimization level 1.
https://www.rdocumentation.org/packages/data.table/versions/1.12.2/topics/datatable.optimize

to achieve optimization level 2, use prod() instead of "/"

@myoung3
Copy link
Member Author

myoung3 commented Sep 29, 2019

@myoung3
Copy link
Member Author

myoung3 commented Oct 1, 2019

It looks like it's easiest just to use eval(parse(text=

@myoung3 myoung3 changed the title making use of data.table optimizations making use of data.table GFORCE optimizations Oct 1, 2019
@myoung3 myoung3 closed this as completed in 1b012a6 Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant