Skip to content

Commit

Permalink
Support bigint by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgp2 committed Mar 9, 2021
1 parent da34f43 commit a04c0e3
Show file tree
Hide file tree
Showing 33 changed files with 446 additions and 11,194 deletions.
6 changes: 1 addition & 5 deletions bench/data/bench.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
"inner" : {
"int32" : 20161110,
"innerInner" : {
"long" : {
"low": 1051,
"high": 151234,
"unsigned": false
},
"long" : "34857897489505",
"enum" : 1,
"sint32": -42
},
Expand Down
2 changes: 1 addition & 1 deletion bench/data/static_pbjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ $root.Test = (function() {
this[keys[i]] = properties[keys[i]];
}

InnerInner.prototype.long = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
InnerInner.prototype.long = 0n;
InnerInner.prototype["enum"] = 0;
InnerInner.prototype.sint32 = 0;

Expand Down
Loading

0 comments on commit a04c0e3

Please sign in to comment.