Page MenuHomePhabricator

Replace some IF by SWITCH - Memory optimization
Closed, InvalidPublic


Author: acheddamiman

This is one example of memory optimization in the wikicode.

The WatchlistEditor.php - has ben optimized.

By AchedDamiman

Version: unspecified
Severity: trivial



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:57 PM
bzimport set Reference to bz11300.

EN.WP.ST47 wrote:

Is that a bug? Should something be changed?

cannon.danielc wrote:

I don't get it either -- what's the problem? How is replacing if's with switch's going to speed things up at all? Is this just a general request for more optimization, or is there a problem?