Last modified: 2007-09-11 23:14:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13300, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11300 - Replace some IF by SWITCH - Memory optimization
Replace some IF by SWITCH - Memory optimization
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
Subversion (Other open bugs)
unspecified
All All
: Lowest trivial (vote)
: ---
Assigned To: Brion Vibber
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-11 23:07 UTC by AchedDamiman
Modified: 2007-09-11 23:14 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description AchedDamiman 2007-09-11 23:07:04 UTC
This is one example of memory optimization in the wikicode.

The WatchlistEditor.php - http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/WatchlistEditor.php has ben optimized.

By AchedDamiman
Comment 1 Dan Collins 2007-09-11 23:12:23 UTC
Is that a bug? Should something be changed?
Comment 2 Daniel Cannon (AmiDaniel) 2007-09-11 23:14:03 UTC
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?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links