Is there limit on a brush container size?

I mean one that can be reasonably reached. If brushes are stored in an array of 0…MaxInt32 please just say there’s no limit, because I don’t think I’ll ever be able to reach over 2 billion brushes (or 4 billion if we’re talking unsigned ints), no matter how hard I’ll try, while with 256 or even 65536 I just might.

The limit is 255 slots.