MCPcopy
hub / github.com/immutable-js/immutable-js / getTailOffset

Function getTailOffset

src/List.js:760–762  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

758}
759
760function getTailOffset(size) {
761 return size < SIZE ? 0 : ((size - 1) >>> SHIFT) << SHIFT;
762}
763
764// The largest number of values a List can hold. Above this the 32-bit trie math
765// in setListBounds() stays in the safe signed 32-bit range.

Callers 4

iterateListFunction · 0.85
updateListFunction · 0.85
listNodeForFunction · 0.85
setListBoundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected