We do not need to assign a entity_manger each time we pass through the loop.
I do understand the line premature/micro optimization is the root of all evil.....
BUT while reviewing #2555365: Add views schema for flag_relationship
I spotted this .... I hope this is "QuickFix" as it that will take a 1/2 second to review and reorder....
far longer than it would take to prove through profiling :)
If we have 2 flags then this is not a concern, I am sure even with 1000 flags it will not be a problem, so for me I want to call this a distraction.
Comments
Comment #2
joshtaylor commentedGood spot.
Comment #3
martin107 commentedThanks for the review.
.txt is not a good name for a patch file.... reupload the same file.
martin107--
Comment #5
joshtaylor commentedTest failure is fixed in another issue..
Comment #6
martin107 commentedOk lets postpone until the critical is fixed.
#2555833: SafeMarkup::placeholder has been removed.
Comment #7
socketwench commentedShould be ready to RTBC when #2555833: SafeMarkup::placeholder has been removed. is in.
Comment #8
joachim commentedWell-spotted :)
Committed.