Template:Eff note: Difference between revisions

Use "method" instead of "algorithm" to apply to non-algorithmic examples
(Created page with '<div class="messagebox" style="text-align:center"><small>Though this task should probably be done in {{{1}}} using <code>{{{2}}}</code>, the following code demonstrates a particu…')
 
(Use "method" instead of "algorithm" to apply to non-algorithmic examples)
Line 1:
<div class="messagebox" style="text-align:center"><small>Though this task should probably be done in {{{1}}} using <code>{{{2}}}</code>, the following code demonstrates a particular algorithmmethod that may be less efficient, but fits better with other examples on this page.</small></div><noinclude>
 
This is meant to replace (possibly pretentious-sounding) notes on examples that highlight the use of more efficient built-in functions to accomplish tasks that ask for a particular algorithm to be used. The language is given as the first argument to this template, and a function name or short code snippet is given as the second argument.
Anonymous user