Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19492
Change subject: IMPALA-11912: Inline base::IsAarch64 ...................................................................... IMPALA-11912: Inline base::IsAarch64 base::IsAarch64() returns true for Aarch64 platforms and returns false for x86 platforms. It shows up in a perf test and consumes some percents. Note that it's used in the hot path of hash computation. This patch inlines this method. Test: - Redo the perf test and don't see base::IsAarch64 anymore. Change-Id: Id6d62de63a0cb7b94244a1d4f8dcc6b2e65b6d9c --- M be/src/gutil/sysinfo.cc M be/src/gutil/sysinfo.h 2 files changed, 7 insertions(+), 9 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/19492/1 -- To view, visit http://gerrit.cloudera.org:8080/19492 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id6d62de63a0cb7b94244a1d4f8dcc6b2e65b6d9c Gerrit-Change-Number: 19492 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <[email protected]>
