Quantcast
Channel: FreeOrion
Viewing all articles
Browse latest Browse all 383

Programming • Re: Content optimization

$
0
0
Is this number based on a (high quality) hash of the string, or assigned sequentially? How do you associate other appearances of the same string with the same ID number? Does every reference to a string have a parallel ID stored with it that is set after everything is parsed and all IDs assigned? Are the string -> ID maps unique for all content types?

I'm skeptical that string compares in content lookups are a significant limit on condition / effect processing or other processing... Do you have particular cases in mind where it matters?

Statistics: Posted by Geoff the Medio — Mon Feb 17, 2025 3:52 pm



Viewing all articles
Browse latest Browse all 383

Trending Articles