Commit 43c7637
# Which issue does this PR close?
- Closes #8618.
# Rationale for this change
Implement efficient boolean by applying them a (u64) at a time
# What changes are included in this PR?
## Implementation notes
# Are these changes tested?
Yes, although I did not run them on big endian machine
# Are there any user-facing changes?
Yes, new functions which are documented
----------------
Notes: I will later change `BooleanBufferBuilder#append_packed_range`
function to use `mutable_bitwise_bin_op_helper` as I saw that running
the `boolean_append_packed` benchmark improved by more than 2 times
```
boolean_append_packed time: [2.0079 µs 2.0139 µs 2.0202 µs]
change: [−57.808% −57.653% −57.494%] (p = 0.00 < 0.05)
Performance has improved.
```
See benchmarks on
- #8744
---------
Co-authored-by: Andrew Lamb <[email protected]>
1 parent 1ab356f commit 43c7637
File tree
3 files changed
+1231
-3
lines changed- arrow-buffer/src
- buffer
- util
3 files changed
+1231
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
527 | 533 | | |
528 | 534 | | |
529 | 535 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
812 | 815 | | |
813 | 816 | | |
814 | 817 | | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
815 | 824 | | |
816 | 825 | | |
817 | 826 | | |
| |||
0 commit comments