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

Implement data.table checkHzDepthLogic RE #157, #174 #190

Merged
merged 3 commits into from
Jan 21, 2021
Merged

Conversation

brownag
Copy link
Member

@brownag brownag commented Jan 20, 2021

Addresses my first demonstration point from #174

RE: #174 I am thinking that full generalization of profileApply is not worth it -- I have some ideas on mutate_profile. That should perhaps be spliced off into a new, back-burner issue.

@brownag brownag changed the title Implement data.table checkHzDepthLogic RE [#157, #174,] Implement data.table checkHzDepthLogic RE [#157, #174] Jan 20, 2021
@brownag brownag changed the title Implement data.table checkHzDepthLogic RE [#157, #174] Implement data.table checkHzDepthLogic RE #157, #174 Jan 20, 2021
brownag added a commit that referenced this pull request Jan 21, 2021
Copy link
Member

@dylanbeaudette dylanbeaudette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I have not tested, but I am sure that you have. Learned about eval(). I'll add this to my recent dive into data.table. Any word on how much faster this is?

@brownag
Copy link
Member Author

brownag commented Jan 21, 2021

See #174 for the benchmarks -- it is ~5-10x faster

@brownag
Copy link
Member Author

brownag commented Jan 21, 2021

Sorry, mis-read my own bench mark. Raw data.table is >50x faster in my benchmark. But there is some overhead from the way the function is set up.

@brownag brownag merged commit 006ed6d into master Jan 21, 2021
@brownag brownag deleted the depthlogicDT branch January 22, 2021 20:16
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

Successfully merging this pull request may close these issues.

2 participants