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
Currently, an error contains a simple std::string which can lead to unnecessary overhead due to string copying.
Since many error strings are constant, it might be sufficient to store a pointer to some constant memory.
Further testing and benchmarking required.
Also some additional investigation if the non-constant strings are actually necessary.
The text was updated successfully, but these errors were encountered:
Currently, an error contains a simple
std::string
which can lead to unnecessary overhead due to string copying.Since many error strings are constant, it might be sufficient to store a pointer to some constant memory.
Further testing and benchmarking required.
Also some additional investigation if the non-constant strings are actually necessary.
The text was updated successfully, but these errors were encountered: