Commit c25571e
committed
Only parse the code type when needed
The code type is not needed in all code paths. It needs some time, which
is not negligible (regular expression match), to parse the code type, so
it should not be parsed in all code paths.
Consequently, the variable can be declared in a smaller scope to make
that fact obvious to the reader (and a bit more to the compiler).1 parent a4c5b69 commit c25571e
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments