Commit 2cc8abb
authored
arrow-data: avoid allocating in get_last_run_end (#8974)
The previous code called Buffer::from to get typed_data, which allocates
a new MutableBuffer.
# Which issue does this PR close?
I believe this PR is small enough to not require an issue.
# Rationale for this change
Performance. This PR reduces allocations
# What changes are included in this PR?
See commit
# Are these changes tested?
By pre-existing tests
# Are there any user-facing changes?
No
Signed-off-by: Alfonso Subiotto Marques <alfonso.subiotto@polarsignals.com>1 parent dff6402 commit 2cc8abb
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
0 commit comments