Commit 1b195f0
Eliminate DataFrame copies and double data loading in datashader path
Two additional performance fixes on top of the datashader speedups:
1. Replace .assign() + .rename() with direct column assignment when
attaching the color column to the transformed element. Avoids two
full DataFrame copies (~320MB saved for 10M points).
2. Add preloaded_color_data parameter to _set_color_source_vec so
_render_points can pass already-loaded color data from get_values()
instead of triggering a redundant second load from the table.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f2bff29 commit 1b195f0
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
800 | | - | |
| 799 | + | |
801 | 800 | | |
802 | 801 | | |
803 | 802 | | |
| |||
0 commit comments