bobthecow/mustache.php — pull request #223 by bobthecow (2014-08-18 12:01:15+00:00)
Title: Replace is_object/is_array with switch on gettype

When checking multiple types, this is ~10% slower in the worst case, and ~30-33% faster for the average and best case.

/cc @nizsheanez

See #218