Skip to content

Commit a07fcd7

Browse files
chore: Fix inaccurate comment
1 parent 6a758a2 commit a07fcd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/jsb_sindex.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ namespace jsb::internal
7676
};
7777

7878
// 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)
79+
// index(0, 4_294_967_295) revision(1, 1_048_575)
8080
typedef TIndex<uint64_t, 20, 0xfffff> IndexSafe64;
8181

8282
// 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)
83+
// /*if unsigned*/ index(0, 4_294_967_295) revision(1, 4_294_967_295)
8484
typedef TIndex<uint64_t, 32, 0xffffffff> Index64;
8585

8686
// index(0, 67_108_863) revision(1, 63)

0 commit comments

Comments
 (0)