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

Replace accumulate with copy on first call to antialiased stage 2 combine #1264

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Replace accumulate with copy on first call to antialiased stage 2 combine #1264

merged 1 commit into from
Aug 7, 2023

Conversation

ianthomas23
Copy link
Member

When performing antialiased stage 2 combining of aggs, on the first pass do not need to do the full accumulate as a simple copy will suffice, given that the target aggs are all empty. This gives a slight performance improvement, there is no functional change.

@ianthomas23 ianthomas23 added this to the v0.15.2 milestone Aug 7, 2023
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #1264 (23d49a5) into main (f263c56) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1264   +/-   ##
=======================================
  Coverage   83.43%   83.44%           
=======================================
  Files          35       35           
  Lines        9069     9071    +2     
=======================================
+ Hits         7567     7569    +2     
  Misses       1502     1502           
Files Changed Coverage Δ
datashader/compiler.py 90.03% <100.00%> (ø)
datashader/glyphs/line.py 93.06% <100.00%> (+0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ianthomas23 ianthomas23 merged commit 7e3b8c3 into holoviz:main Aug 7, 2023
@ianthomas23 ianthomas23 deleted the aa_replace_accum_with_copy branch August 7, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant