|
Caleb Spare |
at Feb 8, 2015 at 4:20 am
|
⇧ |
| |
The length and capacity of slices and maps are ints, so I believe that
the int size on your platform (as well as available memory, of course)
are the only limitations.
On Sat, Feb 7, 2015 at 8:17 PM, Gyu-Ho Lee wrote:Is there any cap on Go's built-in map or slice? I know slice can have cap
but what is the maximum number of elements that we can have in one map and
slice?
I am thinking about having my entries in Redis or other key-value storage
until I have too many entries to store in memory.
Any advice will be appreciated. Thanks!
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout. --
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.