[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-19 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-646732180


   I just requested JIRA reference autolinking 
https://issues.apache.org/jira/browse/INFRA-20450



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-17 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645710004


   I gave up on trying to have e.g. a common "64-bit" kernel for 
Equals/NotEquals Int64/UInt64/Timestamp/etc. The sticking point is scalar 
unboxing. We might need to fashion a common internal base class for primitive 
types and give them a virtual method that returns their data as `const 
uint8_t*` that you can cast to whatever primitive type you want



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-17 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645696688


   +1. I'm going to merge this to help avoid conflicts caused by the stuff I 
just renamed. I welcome further comments and I will work to address them in 
follow ups



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-17 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645623392


   I'm revamping the documentation about these codegen functions which I'm 
dubbing "Generator-Dispatchers" (GDs) for short. I'll add "Generate" to their 
name. Stay tuned



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-17 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645352809


   This can be reviewed, but I realized I can compress this further by reusing 
some equals/not_equal kernels, so I will quickly try to do that this morning



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-17 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645326438


   Can you bring it up somewhere else like on the mailing list? Someone can ask 
Apache INFRA to set this up



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645129920


   Well my theory about greater/less didn't hold. The other relevant change was 
moving things into the anonymous namespace. It's possible that anonymous 
namespaces impact inlining somehow 



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645116862


   Well we have these bot comments, is it not sufficient? 
https://github.com/apache/arrow/pull/7461#issuecomment-645086851



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645113493


   Not to beat a dead horse about ARROW-9155, but the turnaround time for 
simple benchmarks isn't great



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645113285


   @ursabot benchmark --benchmark-filter=Greater 18e559b



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645111941


   Ah! It's because Greater is not implemented using Less. Let me switch things 
around



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645104527


   @ursabot benchmark --benchmark-filter=Greater 18e559b



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645102793


   There weren't any C++ unit tests for comparisons of primitive types so I 
addressed that, and also added comparisons for Time and Duration types (which 
on account of this patch are basically "free")



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645083255


   @ursabot benchmark --benchmark-filter=Greater 18e559b



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [arrow] wesm commented on pull request #7461: ARROW-8969: [C++] Reduce binary size of kernels/scalar_compare.cc.o by reusing more kernels between types, operators

2020-06-16 Thread GitBox


wesm commented on pull request #7461:
URL: https://github.com/apache/arrow/pull/7461#issuecomment-645083142


   @ursabot benchmark --benchmark_filter=Greater 18e559b



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org