Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Jan 19, 2025
1 parent a3cbcbb commit 45db800
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static void fastjson2() {
}
long millis = System.currentTimeMillis() - start;
System.out.println("fastjson2 millis : " + millis);
// zulu8.62.0.19 : 703 746 710 706 700 682 717 698 526 500 474
// zulu8.62.0.19 : 703 746 710 706 700 682 717 698 526 500 474 445
// zulu11.52.13 : 579 565 552 541 554 553 554 538 420 424 434
// zulu17.40.19 : 600 604 597 593 578 567 447 420
}
Expand Down
7 changes: 0 additions & 7 deletions core/src/main/java/com/alibaba/fastjson2/JSONReaderASCII.java
Original file line number Diff line number Diff line change
Expand Up @@ -624,13 +624,6 @@ public final long readFieldNameHashCodeUnquote() {
return hashCode;
}

public static long getLong(byte[] bytes, int off) {
return UNSAFE.getLong(
bytes,
ARRAY_BYTE_BASE_OFFSET + off
);
}

@Override
public final long readValueHashCode() {
int ch = this.ch;
Expand Down

0 comments on commit 45db800

Please sign in to comment.