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

A tiny performance improvement #17

Merged
merged 3 commits into from
Mar 4, 2025
Merged

Conversation

olivroy
Copy link
Collaborator

@olivroy olivroy commented Mar 4, 2025

Just wanted to send that since I had that hanging locally.

a8cc63d is a nice improvement, since we are able to use the vectorization speed of grepl() instead of calling is_tz_present() multiple times.

Also added comments to mention that the repeated operation is a WIP (I don't want to put the effort to solve it now since I don't really use this type of date formatting, but wanted to leave a comment in case the code base becomes cryptic over time)

@olivroy olivroy requested a review from rich-iannone March 4, 2025 15:47
@rich-iannone
Copy link
Member

Thank you! Will review now.

Copy link
Member

@rich-iannone rich-iannone 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. Thank you!

@rich-iannone rich-iannone merged commit a50e7fb into rstudio:main Mar 4, 2025
8 checks passed
@olivroy olivroy deleted the testing2 branch March 4, 2025 20:03
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