@Jonathan_Blow @nothings @gavanw Charles used to recommend:
Hash = 2166136261UL;
while(*Text) Hash = (80021UL * Hash) ^ (*Text++);
@Jonathan_Blow @nothings @gavanw But, obviously hashes aren't "unique" unless they're perfect, so I'm not sure what you mean by unique-ify?
-
-
@cmuratori@Jonathan_Blow@gavanw He wants to do string-interning, but on structs not strings. -
@nothings@cmuratori@Jonathan_Blow interested in that for a value-based rendering API: New scene description ⇒ new GPU resources.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.