Follow-up Comment #3, patch #1444 (project freeciv):

> Is it really such a slowdown to save a message in a string? I
> don't know how often the settings code is called and how much
> time one call needs ...

It is not that slow.  But the code is called tons of times.  Every time
someone connects, every time for every connection when a savegame is loaded,
or a ruleset loaded or the game starts, etc...

Anyway, the 'char *reject_msg, size_t reject_msg_len' still looks the best


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to