Template talk:ISO 639-3

From Second Life Wiki
Revision as of 08:33, 28 April 2012 by Zai Lynch (Talk | contribs)

Jump to: navigation, search

Is this template good for the wiki? I mean to say, how efficiently can it parse this template? -- Strife Onizuka 15:53, 1 January 2008 (PST)

It's a giant switch statement- aren't those relatively efficient compared to a series of if loops ?
SignpostMarv Martin 06:01, 2 January 2008 (PST)
Could have this in O(1) instead of linear search by creating Template:ISO 639-3/deu to return "German", etc. and write this template as {{ISO 639/{{lc|{{{1|}}}}}}}. Though it would need the creation of 7646 pages to cover all cases...
--Zai signature.png (talk|contribs) 08:33, 28 April 2012 (PDT)