diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-03 00:05:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-03 00:05:33 +0200 |
commit | 4d08f72b767fa8ea9c3118b48a205dc87417df2e (patch) | |
tree | ae91e503af97978f3695f8c4c1b44a66899e3840 /doc/classes/PoolIntArray.xml | |
parent | 045ab51ae50139e645958149c6d6d354026ccdd4 (diff) | |
parent | cb3676726b01825c6ff94284e4240fa305b8fc7d (diff) |
Merge pull request #31022 from Calinou/doc-mention-poolintarray-limits
Mention 32-bit integer limit in the PoolIntArray documentation
Diffstat (limited to 'doc/classes/PoolIntArray.xml')
-rw-r--r-- | doc/classes/PoolIntArray.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/PoolIntArray.xml b/doc/classes/PoolIntArray.xml index 730833b097..28a28b2bba 100644 --- a/doc/classes/PoolIntArray.xml +++ b/doc/classes/PoolIntArray.xml @@ -6,6 +6,7 @@ <description> An [Array] specifically designed to hold integer values ([int]). Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. + [b]Note:[/b] This type is limited to signed 32-bit integers, which means it can only take values in the interval [code][-2^31, 2^31 - 1][/code], i.e. [code][-2147483648, 2147483647][/code]. Exceeding those bounds will wrap around. In comparison, [int] uses signed 64-bit integers which can hold much larger values. </description> <tutorials> </tutorials> |