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
I am not sure how this can be useful for us. The gettext module does not use the hash table. Anyway, it is easier and faster to read the whole file in memory in Python.
This doesn't mean rejection. It just has a low priority feature.
And how to test it? It would help if the gettext module supported lazy loading. It should be optional, because reading the whole file in memory is more efficient and safer.
Activity
StanFromIreland commentedon Mar 26, 2025
This can be put in the gettext project since there have been other msgfmt issues there.
serhiy-storchaka commentedon Jul 23, 2025
I am not sure how this can be useful for us. The
gettextmodule does not use the hash table. Anyway, it is easier and faster to read the whole file in memory in Python.This doesn't mean rejection. It just has a low priority feature.
And how to test it? It would help if the
gettextmodule supported lazy loading. It should be optional, because reading the whole file in memory is more efficient and safer.StanFromIreland commentedon Jul 23, 2025
See #79809
I thought it would be better to first support it in msgfmt and then in gettext? Do you think it should be the other way around?