fixed a nasty performance regression caused by a misordered clause
This commit is contained in:
parent
d42acf4411
commit
079aa7ccf6
2 changed files with 7 additions and 7 deletions
|
@ -35,7 +35,7 @@ test_body(TestSpec, Dir) ->
|
|||
end.
|
||||
|
||||
decode(F, <<>>) ->
|
||||
{Result, _} = F(eof),
|
||||
{Result, _} = F(<<16#F8FF/utf8>>),
|
||||
Result;
|
||||
decode(F, <<A/utf8, Rest/binary>>) ->
|
||||
case F(<<A/utf8>>) of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue