coderex2522 commented on code in PR #1114:
URL: https://github.com/apache/orc/pull/1114#discussion_r876732619
##########
c++/include/orc/MemoryPool.hh:
##########
@@ -72,6 +72,10 @@ namespace orc {
return currentCapacity;
}
+ const T& operator[](uint64_t i) const {
+ return buf[i];
+ }
+
Review Comment:
Test Environment: x86_64, gcc version 4.8.5
The test results were 7.03 seconds and 3.82 seconds respectively.
@dongjoon-hyun
--
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]