Skip to content

Conversation

@davies
Copy link
Contributor

@davies davies commented Aug 18, 2015

In UnsafeRow, we use the private field of BigInteger for better performance, but it actually didn't contribute much (3% in one benchmark) to end-to-end runtime, and make it not portable (may fail on other JVM implementations).

So we should use the public API instead.

cc @rxin

@srowen
Copy link
Member

srowen commented Aug 18, 2015

+1

@SparkQA
Copy link

SparkQA commented Aug 18, 2015

Test build #41164 has finished for PR 8286 at commit e547fe8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Aug 18, 2015

LGTM

asfgit pushed a commit that referenced this pull request Aug 19, 2015
In UnsafeRow, we use the private field of BigInteger for better performance, but it actually didn't contribute much (3% in one benchmark) to end-to-end runtime, and make it not portable (may fail on other JVM implementations).

So we should use the public API instead.

cc rxin

Author: Davies Liu <[email protected]>

Closes #8286 from davies/portable_decimal.

(cherry picked from commit 270ee67)
Signed-off-by: Davies Liu <[email protected]>
@asfgit asfgit closed this in 270ee67 Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants