In Perl_fbm_instr(), use a switch() statement for the special case code.
authorNicholas Clark <nick@ccl4.org>
Tue, 17 May 2011 12:16:57 +0000 (13:16 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 11 Jun 2011 07:40:02 +0000 (09:40 +0200)
commit21aeb718e9b2ffc24ed853a11c571efa7fc3555d
tree2cde2e338fb91b391ab9e2cb856d2ea2b49f78af
parentea725ce6fd46ebc3bd7040373b9c0721af8813f8
In Perl_fbm_instr(), use a switch() statement for the special case code.

Previously the special-case code for lengths 0, 1 and 2 was in a nested set
of if() statements, which was slightly cryptic to read.
util.c