Readability and maintainability

edit

I believe this module is extremely readable, and anyone, exercising basic care, could add additional characters.

Efficiency

edit

A more efficient solution might be to use a table. This benefit would only exist if the table persisted across invocations. Several apparently obvious implementations using a table would not gain the potential efficiency.

Currently the main use is as a subst'ed template. In this use efficiency is almost irrelevant.

Request

edit

Please don't re-write this unless and until you have thought through the implications of doing so.

All the best: Rich Farmbrough12:39, 11 August 2014 (UTC).