Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in AdjacencyList.md #10065

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/AdjacencyList.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ Given a capacity of `c`:

- The first 3 values in the `Uint32Array` are the header: `HEADER_SIZE = 3`
- The hash table is always equal to the capacity: `c`
- The addressable space is equal to the capacity times the item size: `IITEM_SIZE * c`
- The addressable space is equal to the capacity times the item size: `ITEM_SIZE * c`
- The item size is equal to the number of fields on an edge record: `ITEM_SIZE = 8`

The size of the `Uint32Array` is therefore `3 + 9c`.
Expand Down Expand Up @@ -611,7 +611,7 @@ Given a capacity of `c`:
- `TYPE` have the same meaning as in `SharedTypeMap`
- `NEXT_ID` tracks the number of unique node ids issued by `addNode`
- The hash table is always equal to the capacity: `c`
- The addressable space is equal to the capacity times the item size: `IITEM_SIZE * c`
- The addressable space is equal to the capacity times the item size: `ITEM_SIZE * c`
- The item size is equal to the number of fields on a node record: `ITEM_SIZE = 6`
- these are the 6 fields describe in [Node fields](#node-fields)

Expand Down
Loading