
Originally Posted by
Rongway
Sure, here are the updated numbers for that.
As of 6.08, there are
4,500 arms
1,024 tools
10,740 armors
3,768 accessories
====
20,032 visible equipment items
IDing 20,032 equipment items requires cieling(log_2(20,032)) bits, or 15 bits. Adding one more bit for HQ brings this up to 16 bits or 2 bytes. Add one more byte for dye information. So the simplest data structure for an 800 slot glamour dresser at 3 bytes per slot would take up 2.4 kB.
Keeping track of a glamour catalog would require 1 bit per item. With 20,032 items, this comes out to 20,032 bits or 2.504 kB.
With 35.8 million subscribers, assuming the vast majority of them only have one character, the total glamour storage difference between an 800 slot dresser and a full catalog might only be about 3.5 GB total among all regions. Note that there are a few items that are exact duplicates (both model and dye channel), so all of these numbers in reality should be slightly less than these calculations, but also I can't say what percentage of the subscriber base has alts, so they could also be higher.
For now, at least, it looks like it wouldn't require storing much more character data if we switched to a glamour catalog. But it's worth noting that these requirements do not scale the same as equipment is added to the game. For a glamour dresser, we could add another 12,500 items to the game and it wouldn't require any additional storage because the minimal size of ID data is the same at 20k items as it is at 32k items. However, adding 12,500 items to a glamour catalog would increase the catalog size to 4.096 kB per character, a linear increase.
Further, a glamour dresser need not take up the maximal space. A dresser that's only half full could take up only half the data storage because empty slots might not need to be explicitly allocated in the data structure. A dresser that's completely empty might take up no storage. However, a catalog would always take up the whole catalog size regardless of how many items you've collected because it still tracks everything you don't have.
So on the one hand, in the present it doesn't look like a catalog would require much more resource than an 800 slot dresser; but on the other hand, maybe they think a dresser will age better?