Quote:
Originally Posted by nosoop
StringMaps are great for temporary mappings that should last as long as the plugin, but the serialization is very much DIY.
|
If serialization is necessary then switching to a KeyValues-based methodmap is okay, but I'd rather write a conversion method from a StringMap to KeyValues and eat that performance cost then, when serialization is used, rather than on every call into the KeyValues structure.
Either way works, but that's my two cents