ID:149302
May 28 2002, 10:19 am
|
|
Is there a limit to the number of items a list can hold?
|
From all the times I've used lists, there doesn't seem to be a visable limit, if one is there only someone who has made an incredibly huge list or Dantom would know.
|
In response to Darkness
|
|
Most things like atoms, objs and mobs and such have a limit of 65,535 of each, and I'm wondering if that limit applies to lists as well.
|
In response to Foomer
|
|
Foomer wrote:
Most things like atoms, objs and mobs and such have a limit of 65,535 of each, and I'm wondering if that limit applies to lists as well. I think the 65535 limit for most things is done for bandwidth purposes: That is, it's easier to transmit 2 bytes than 4. But for lists, I would guess that internally the item counter is an ordinary 4-byte unsigned int. That would put the limit at just over 4 billion--or 2 billion if Dantom left it signed. I could, however, be wrong on this. Hopefully Dantom will change everything to a 4-byte format anyway soon enough, and this will all be moot. Lummox JR |
Of course there is a limit, but I think it really depends on how much memory the person who is running it has.
Not sure if that helps.
- Malver