Follow-up Comment #16, bug #8522 (project wesnoth):
Why should user-visible description ever be generated from unique description
since unique description is untranslateable, and user-visible description is
translateable?
More importantly, why are you trying to use the WML description as a unique
description for the C++ code? The markup language is designed towards ease of
use, while the C++ code should be designed with more interest in efficiency.
This means you shouldn't be using a std::string for this purpose at all,
especially not one that relies on truncated calls to the timer. A simple
counter would be faster to generate, more reliable for uniqueness, and
provide faster lookup times for units that are indexed by it.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?8522>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs