Repository navigation
perf(ivy): avoid unnecessary i18n pass while processing a template - #33284
Closed
AndrewKushnir wants to merge 1 commit into
Closed
AndrewKushnir wants to merge 1 commit into
AndrewKushnir wants to merge 1 commit into
Conversation
AndrewKushnir
force-pushed
the
avoid_i18n_second_pass
branch
from
October 22, 2019 00:27
00a56cc to
c5ceeac
Compare
Prior to this commit, we always invoked second i18n pass (in case whitespace removal is on, which is a default), even if a given template doesn't contain i18n information. Now we store a flag (that indicates presence of i18n information in a template) during first i18n pass and use it to check whether second pass is needed.
AndrewKushnir
force-pushed
the
avoid_i18n_second_pass
branch
from
October 22, 2019 00:28
c5ceeac to
d2f7f96
Compare
AndrewKushnir
marked this pull request as ready for review
October 22, 2019 00:54
petebacondarwin
approved these changes
Oct 22, 2019
petebacondarwin
left a comment
Contributor
There was a problem hiding this comment.
LGTM
I got all excited when I saw the title of this PR as I thought you might have removed the second pass altogether :-) since that would have fixed the ICU bug I am working on.
Contributor
Author
alxhub
approved these changes
Oct 22, 2019
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prior to this commit, we always invoked second i18n pass (in case whitespace removal is on, which is a default), even if a given template doesn't contain i18n information. Now we store a flag (that indicates presence of i18n information in a template) during first i18n pass and use it to check whether second pass is needed.
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?