Commit 3c66554
committed
Use bytes.Count to count the number of message fields
Not a huge improvement but an improvement nonetheless.
```
goos: darwin
goarch: arm64
pkg: github.com/quickfixgo/quickfix
│ old3 │ new3 │
│ sec/op │ sec/op vs base │
ParseMessage-8 680.6n ± 0% 650.0n ± 0% -4.49% (p=0.000 n=20)
```
Signed-off-by: Sylvain Rabot <[email protected]>1 parent e3a2994 commit 3c66554
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 190 | + | |
196 | 191 | | |
197 | 192 | | |
198 | 193 | | |
| |||
0 commit comments