Skip to content

Commit

Permalink
Split (Boxed|Small)Float64 primitives
Browse files Browse the repository at this point in the history
to reduce overhead in SmallFloat64 primitives.
  • Loading branch information
fniephaus committed Feb 29, 2020
1 parent d9dad5f commit 73dc4c1
Show file tree
Hide file tree
Showing 2 changed files with 366 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public boolean isPositive() {
return doubleValue >= 0;
}

public boolean isZero() {
return doubleValue == 0;
}

@Override
public int getNumSlots() {
return 1; /* FIXME: inconsistent with size (not counting in header for some reason) */
Expand Down
Loading

0 comments on commit 73dc4c1

Please sign in to comment.