Skip to content

simplify Date-IDate atime test - #7846

Draft
tdhock wants to merge 2 commits into
masterfrom
simplify-idate-subtraction-atime-colons
Draft

simplify Date-IDate atime test#7846
tdhock wants to merge 2 commits into
masterfrom
simplify-idate-subtraction-atime-colons

Conversation

@tdhock

@tdhock tdhock commented Jul 26, 2026

Copy link
Copy Markdown
Member

I wonder if it is possible to have a simpler test case, that does not need to edit S3 method registration?
I tried removing that code, and using data.table:::`-.IDate` but I see that Before is slow, which is not what we want for this test case.

this PR master/PR7845
image image

Maybe we would need to use data.table:::chooseOpsMethod.IDate in expr?

@github-actions

Copy link
Copy Markdown
  • HEAD=simplify-idate-subtraction-atime-colons much faster for as.data.table.array improved in #7019
  • HEAD=simplify-idate-subtraction-atime-colons much slower for DT[,.SD] improved in #4501
    Comparison Plot

Generated via commit 4e0c415

Download link for the artifact containing the test results: ↓ atime-results.zip

Task Duration
R setup and installing dependencies 6 minutes and 57 seconds
Installing different package versions 14 minutes and 19 seconds
Running and plotting the test cases 6 minutes and 26 seconds

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.

1 participant