thisisnic commented on PR #48104:
URL: https://github.com/apache/arrow/pull/48104#issuecomment-3521284132
Bit of a weird one to write tests for, so I just ran microbenchmarks using
the code supplied by the user on the linked issue.
Running user-supplied reprex on main branch without this change:
```
> microbenchmark::microbenchmark(fn_arrow(), fn_nano(), times = 20)
Unit: milliseconds
expr min lq mean median uq max neval
fn_arrow() 7591.8715 7810.82744 7918.969 7883.9831 8092.0043 8238.5480 20
fn_nano() 77.6787 90.42936 119.264 109.1114 126.8542 243.1027
20
```
Then, with it:
```
> microbenchmark::microbenchmark(fn_arrow(), fn_nano(), times = 20)
Unit: milliseconds
expr min lq mean median uq max neval
fn_arrow() 254.86050 259.42603 301.5087 265.7393 285.8860 707.4794 20
fn_nano() 73.24052 92.19223 147.6159 118.3257 218.1055 240.3102 20
```
--
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]