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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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