Skip to content

Commit

Permalink
Fix read map when nentries < 128 but maxentries >= 128
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Jul 2, 2024
1 parent a25c48c commit e243ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hld/Eval.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ class Eval {
throw "Unsupported map " + tkey.toString();
}

var isSmall = isV13 && nentries < 128;
var isSmall = isV13 && maxEntries < 128;

var content : Array<{ key : Value, value : Value }> = [];
var curCell = 0;
Expand Down

0 comments on commit e243ae4

Please sign in to comment.