3 ms·
150+ isn't terribly much since each is basically an `if` statment. All 150 rules can be reduced to a single table lookup if necessary for performance. (Memory r
by nanofortnight 12y ago
150+ isn't terribly much since each is basically an `if` statment. All 150 rules can be reduced to a single table lookup if necessary for performance. (Memory requirement for the table on the order of tens of kilobytes, though.)