View Single Post
headline
SourceMod Moderator
Join Date: Mar 2015
Old 07-01-2018 , 18:58   Re: (fake) Classes/Objects in SourcePawn
Reply With Quote #6

Quote:
Originally Posted by nosoop View Post
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
headline is offline