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
In most scenarios, Applications need only code, proper display label(translations) for countries and states, is it possible to introduce a simple mode to only support those fields to reduce memory cost?
The text was updated successfully, but these errors were encountered:
Seems very possible, as there is lots of lazy loading code in place for translations (the bulk of the memory weight) I think it might be good to first determine the actual benefit. Which you should be able to do by basically emptying the contents of the yaml files, and running a performance test.
I believe the only thing we need at runtime for the data you request is the code itself, which we could get from just the file name to avoid loading the documents themselves.
That being said, I am way over capacity and won't be able to devote any time to this. But I am happy to guide you along in a PR.
Thanks for the update. I'm asking this because I'm implementing country-state cascade select boxes now. An light solution is enough for my need. But you are right, maybe we should measure the performance first. :-)
In most scenarios, Applications need only code, proper display label(translations) for countries and states, is it possible to introduce a simple mode to only support those fields to reduce memory cost?
The text was updated successfully, but these errors were encountered: