[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

src/error.d: dynamic initializations

>>>>> "JH" == Joerg Hoehle <hoehle@zeus.gmd.de> writes:

JH> I've a question about ERROR.D. I've seen that the previous scheme
JH> of initialization of the error messages inside a static array has
JH> been abandoned in favor of a dynamic one since the introduction of
JH> GETTEXT.  I'm wondering why. 

JH> Is it just not possible?

There shouldn't be significant overhead from a small number of
assignments, but as you point out, the translations don't need to be
done in bulk.  So I've essentially made the change you suggest in the alpha