View Single Post
Old 02-20-2008, 01:25 PM   #203
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Info_ValueForKey function calls are quite expensive as they must parse the entire string every time it is called.

Improvement: Use a string hashing method and compare the tokens using Info_NextPair. An example of this can be seen from lucel in the NoQuarter ET mod source.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,