We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a758a2 commit a07fcd7Copy full SHA for a07fcd7
internal/jsb_sindex.h
@@ -76,11 +76,11 @@ namespace jsb::internal
76
};
77
78
// Allocates 64 bits, but only the lower 52 are used. This is the range that can be safely stored in a JS number.
79
- // index(0, 4_294_967_295) revision(1, 4_294_967_295)
+ // index(0, 4_294_967_295) revision(1, 1_048_575)
80
typedef TIndex<uint64_t, 20, 0xfffff> IndexSafe64;
81
82
// do not really support the index bigger than int32_t.MaxValue
83
- // /*if unsigned*/ index(0, 4_294_967_295) revision(1, 1_048_575)
+ // /*if unsigned*/ index(0, 4_294_967_295) revision(1, 4_294_967_295)
84
typedef TIndex<uint64_t, 32, 0xffffffff> Index64;
85
86
// index(0, 67_108_863) revision(1, 63)
0 commit comments