tustvold opened a new pull request, #2898:
URL: https://github.com/apache/arrow-rs/pull/2898
_Draft as builds on #2885_
# Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases. You can
link an issue to this PR using the GitHub syntax. For example `Closes #123`
indicates that this PR will close issue #123.
-->
Part of #2864
# Rationale for this change
<!--
Why are you proposing this change? If this is already explained clearly in
the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your
changes and offer better suggestions for fixes.
-->
```
interleave i32(0.0) 100 [0..100, 100..230, 450..1000]
time: [651.12 ns 653.57 ns 656.31 ns]
change: [-63.090% -61.957% -60.766%] (p = 0.00 <
0.05)
Performance has improved.
interleave i32(0.0) 400 [0..100, 100..230, 450..1000]
time: [1.4171 µs 1.4235 µs 1.4299 µs]
change: [-78.002% -77.910% -77.815%] (p = 0.00 <
0.05)
Performance has improved.
interleave i32(0.0) 1024 [0..100, 100..230, 450..1000]
time: [3.0353 µs 3.0481 µs 3.0615 µs]
change: [-80.172% -80.078% -79.986%] (p = 0.00 <
0.05)
Performance has improved.
Found 16 outliers among 100 measurements (16.00%)
1 (1.00%) high mild
15 (15.00%) high severe
interleave i32(0.0) 1024 [0..100, 100..230, 450..1000, 0..1000]
time: [3.0152 µs 3.0182 µs 3.0222 µs]
change: [-79.156% -79.115% -79.069%] (p = 0.00 <
0.05)
Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
4 (4.00%) high mild
6 (6.00%) high severe
interleave i32(0.5) 100 [0..100, 100..230, 450..1000]
time: [1.3152 µs 1.3192 µs 1.3238 µs]
change: [-69.214% -69.114% -69.015%] (p = 0.00 <
0.05)
Performance has improved.
Found 20 outliers among 100 measurements (20.00%)
1 (1.00%) low mild
1 (1.00%) high mild
18 (18.00%) high severe
interleave i32(0.5) 400 [0..100, 100..230, 450..1000]
time: [3.6639 µs 3.6761 µs 3.6898 µs]
change: [-76.085% -75.971% -75.851%] (p = 0.00 <
0.05)
Performance has improved.
interleave i32(0.5) 1024 [0..100, 100..230, 450..1000]
time: [9.4650 µs 9.4999 µs 9.5384 µs]
change: [-76.249% -76.161% -76.071%] (p = 0.00 <
0.05)
Performance has improved.
Found 14 outliers among 100 measurements (14.00%)
1 (1.00%) high mild
13 (13.00%) high severe
interleave i32(0.5) 1024 [0..100, 100..230, 450..1000, 0..1000]
time: [9.5063 µs 9.5349 µs 9.5671 µs]
change: [-76.089% -75.990% -75.895%] (p = 0.00 <
0.05)
Performance has improved.
Found 21 outliers among 100 measurements (21.00%)
2 (2.00%) high mild
19 (19.00%) high severe
```
# What changes are included in this PR?
<!--
There is no need to duplicate the description in the issue here but it is
sometimes worth providing a summary of the individual changes in this PR.
-->
Adds a specialized implementation for primitives
# Are there any user-facing changes?
No
<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->
<!---
If there are any breaking changes to public APIs, please add the `breaking
change` label.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]