perf: eliminate lag spikes and redundant work in furnidata i18n
- patchLocalizedFurniDataEntries now only touches the wanted classnames instead of scanning the whole 100k file, reads the master once (was twice), and uses the batched translator instead of one HTTP call per text. - Remove the now-unused serial translateWithLibre. - buildLocalizedFurniDataFiles yields between the two section scans and before stringify so a single language no longer blocks the event loop for the whole pass at once.
This commit is contained in:
1 parent
5efd004533
commit
7116f49e2b
1 file changed
+119
-110
+119
-110
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user