The i18n source stream accumulates input before processing |
||
Issue descriptionThe initial I18n source stream implementation accumulates the whole input file before processing the i18n replacements and sending the results to the output (downstream). This means that the whole html file may be buffered more than once in memory. Since we control which html files are processed by this code and none of them are larger than 100's of KB that implementation is okay. It would be better though, if the i18n source streaming could handle streams of arbitrary size without running the process out of memory.
,
Jan 3 2017
,
Jan 10 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ead12efed77ced7980c10c557dd390e288def6ed commit ead12efed77ced7980c10c557dd390e288def6ed Author: dschuyler <dschuyler@chromium.org> Date: Tue Jan 10 02:36:13 2017 [i18n streaming] improve unit tests This CL adds and improves the unit tests for the i18n streaming. It does not add features or other changes (test case changes only). (Not a fix for bug 677555 , but related test cases). BUG= 677555 Review-Url: https://codereview.chromium.org/2610063003 Cr-Commit-Position: refs/heads/master@{#442450} [modify] https://crrev.com/ead12efed77ced7980c10c557dd390e288def6ed/content/browser/webui/i18n_source_stream_unittest.cc |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 3 2017