Editing User talk:Porplemontage

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
This is a talk page. Remember to sign your posts with four tildes (~~~~) and follow the talk page policy.
Warning You aren't logged in. While it's not a requirement to create an account, doing so makes it a lot easier to keep track of your edits and a lot harder to confuse you with someone else. If you edit without being logged in, your IP address will be recorded in the page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 343: Line 343:
:Yes, the experimental night mode that you saw can be enabled [[Special:Preferences#mw-prefsection-gadgets|here]]. --[[User:Porplemontage|Porplemontage]] ([[User talk:Porplemontage#top|talk]]) 20:49, November 2, 2021 (EDT)
:Yes, the experimental night mode that you saw can be enabled [[Special:Preferences#mw-prefsection-gadgets|here]]. --[[User:Porplemontage|Porplemontage]] ([[User talk:Porplemontage#top|talk]]) 20:49, November 2, 2021 (EDT)
::It looks great so far! Thanks! <font face="Trebuchet MS">[[User:Blue Ninjakoopa|<span style="color:#0000a5">Blue</span>]] [[User talk:Blue Ninjakoopa|<span style="color:#0000a5">Ninjakoopa</span>]]</font> 23:02, November 2, 2021 (EDT)
::It looks great so far! Thanks! <font face="Trebuchet MS">[[User:Blue Ninjakoopa|<span style="color:#0000a5">Blue</span>]] [[User talk:Blue Ninjakoopa|<span style="color:#0000a5">Ninjakoopa</span>]]</font> 23:02, November 2, 2021 (EDT)
== Template optimization ==
I've been working on one of the trophy templates to expand its functionality and I noticed that one method (with no nested if-statements) has a higher "preprocessor visited node count" but significantly lower "post-expand include size" compared to another method (with nested if-statements). When used 58 times: preproc: 14,648 (current) vs 16,618 (method 1) vs 16,150 (method 2); post-expand: 280,460 (current) vs 306,023 (method 1) vs 382,466 (method 2)). My question is: should I prioritize reducing one value more than the other? Or any of the other values in the profiling data? Between the two, the "CPU time usage" deviates within 0.08 seconds and the resulting HTML difference is less than 100 bytes. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 08:13, September 8, 2022 (EDT)
:I would say that reducing CPU time usage is ultimately best, but that value will vary a certain percentage on every parse. In this case the difference seems insignificant, so I would just go with whichever syntax you like better. --[[User:Porplemontage|Porplemontage]] ([[User talk:Porplemontage#top|talk]]) 11:19, September 8, 2022 (EDT)

Please note that all contributions to SmashWiki are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see SmashWiki:Copyrights for details). Your changes will be visible immediately. Please enter a summary of your changes above.

Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)