
Originally Posted by
Rongway
There are almost 20,000 equipable items in the game. If you ignore belts, this number will go down; but let's assume the number of items will stay about the same or go up once we account for the items that are coming in Endwalker. That means we need log_2(20,000) --between 15 and 16-- bits to differentiate between all the different equipable items in the game, and another bit for HQ/NQ. So the glamour dresser needs 2 bytes per item to remember what the item is. The glamour dresser also remembers an item's dye. We have something like 120 dyes, and another byte can handle that. [...] So ignoring that information, we need 3 bytes per item in the dresser. A 400 item dresser then should require 1,200 bytes.
If instead we stored 1 byte for each equipable item we've ever obtained, the catalog would require 20,000/8 bytes. That comes out to 2,500 bytes, which is over twice the minimum data required to support a 400 item dresser. So if they're worried about storage space now, it could be much worse with a glamour catalog. There are of course data structure optimizations and compression algorithms that you could apply to reduce the storage required in either case, at the cost of increased processing requirements, but then we get back to how much processing would need to be done on many glamour catalog access requests over a period of time.