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
I really was expecting that regex would be faster/better outside a loop – as I outputted on the alert() – but it doesn't seem to happen.
Yes, I know – jsPerf isn't the most trustful way of performance rating, but as I said, it can give us a starting point.
So, what does "outperform" really means?
The text was updated successfully, but these errors were encountered:
chiefGui
changed the title
Where this conditional expression can be better than anything else?
When this conditional expression can be better than anything else?
Jul 17, 2014
Hello guys.
In this conditional pattern doc, you say:
Then I made a little test – still doubtful, but can give us an idea: Conditional Expressions Difference.
I really was expecting that regex would be faster/better outside a loop – as I outputted on the
alert()
– but it doesn't seem to happen.Yes, I know – jsPerf isn't the most trustful way of performance rating, but as I said, it can give us a starting point.
So, what does "outperform" really means?
The text was updated successfully, but these errors were encountered: