View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-09-2021 , 02:10   Re: optimize string array
Reply With Quote #2

Optimize it in what sense? Context matters (i.e. it matters on how you're using it). It's likely good enough. I think there are enumerations for weapons which you could use instead, that would use less memory. Then you can look up the string only when needed as a string. But again, it depends on how you are using these arrays.
__________________

Last edited by fysiks; 02-09-2021 at 02:13.
fysiks is offline