Hi all,
I've got an application that needs to store a large number (~900,000) of small (~16 bytes) string constants. From a little bit of poking around, I found storing them as byte slices made builds unmanageable (several minutes, CPU maxed out), while strings were much more approachable. However, it's still taking about 30s to build on a fairly hefty MacBook Pro. Is this the best I'm likely to see, or is there a clever trick I could use to make builds quicker? For example, would I see better performance if I merged them into a single string and split at runtime?
If 30s builds are the best I'm going to get under these conditions, that's ok, I was just wondering whether I was missing a trick.
Thanks,
Jamie