You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PLEASE don't abuse std::string! Consider std::string_view or std::string, to see why, I recommend you try overloading the new operator and count every allocation, i personally prefer using const char* or std::string_view when I need a level of 'customizaiton' for strings, neither allocate to heap
For formatting I prefer to write a sprintf wrapper, so I avoid using libraries that create strings, the allocations cand end up being slower than C/posix functions very easily and should be avoided in our situation
I saw them used but I'm not certain whjere as it was from a superficial look where they were spammed
The text was updated successfully, but these errors were encountered:
PLEASE don't abuse std::string! Consider std::string_view or std::string, to see why, I recommend you try overloading the new operator and count every allocation, i personally prefer using const char* or std::string_view when I need a level of 'customizaiton' for strings, neither allocate to heap
For formatting I prefer to write a sprintf wrapper, so I avoid using libraries that create strings, the allocations cand end up being slower than C/posix functions very easily and should be avoided in our situation
I saw them used but I'm not certain whjere as it was from a superficial look where they were spammed
The text was updated successfully, but these errors were encountered: