On 2013-07-07, 22:28, John Colvin wrote: > We came up with almost identical solutions, posted within 19 seconds of > each other! Sorta. Mine does repeated halving, and makes DMD run out of memory with 16384 enum members. Yours balks at an enum of > about 1000 elements. -- Simen