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

Improve performance of vec_fmt_*() by not building the full data #1891

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

olivroy
Copy link
Collaborator

@olivroy olivroy commented Sep 25, 2024

Summary

By removing some unnecessary build stage operations, we are able to speed up significantly the rendering of the vec_fmt_*() functions and hence cols_nanoplot().

This seems to double speed by avoiding unnecessary operations!

Related GitHub Issues and PRs

Checklist

@rich-iannone
Copy link
Member

Thank you! Will review this soon.

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.

LGTM!

@rich-iannone rich-iannone merged commit 326e91e into rstudio:master Sep 25, 2024
12 checks passed
@olivroy olivroy deleted the plot-perf-follow branch September 26, 2024 13:37
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