Skip to content

Commit

Permalink
optim read csv
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Feb 9, 2025
1 parent c033ccf commit bb841e1
Show file tree
Hide file tree
Showing 6 changed files with 480 additions and 250 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public static void fastjson2() {
long millis = System.currentTimeMillis() - start;
System.out.println("fastjson2 millis : " + millis);
// zulu8.68.0.21 : 3621 3270 2788 2424 2431 2123
// zulu11.62.17 : 2576 1848 2155 1567 1522
// zulu17.40.19 : 3501 3134 2586 2788 2733 2682
// zulu11.62.17 : 2576 1848 2155 1567 1522 1307
// zulu17.40.19 : 3501 3134 2586 2788 2733 2682 2494
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public T readLineObject() {
if (!objectSupport) {
throw new UnsupportedOperationException("this method should not be called, try specify objectClass or method readLineValues instead ?");
}
if (inputEnd) {
if (inputEnd && off == end) {
return null;
}

Expand Down
Loading

0 comments on commit bb841e1

Please sign in to comment.