Skip to content

Commit

Permalink
Merge pull request rust-bakery#664 from Hywan/patch-6
Browse files Browse the repository at this point in the history
doc(upgrading) Fix the memory footprint Section
  • Loading branch information
Geal authored Jan 21, 2018
2 parents 5060209 + 6b19bdd commit 3ccab58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/upgrading_to_nom_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ These changes keep the same memory footprint in simple errors mode, and reduce i

| size of `IResult<&[u8], &[u8]>` | simple errors | verbose errors |
|---|---|---|
| nom 3 | 40 | 64 |
| nom 4 | 40 | 48 |
| nom 3 | 40 bytes | 64 bytes |
| nom 4 | 40 bytes | 48 bytes |

However, [parsers are faster in nom 4 than in nom 3](https://github.com/Geal/nom/issues/356#issuecomment-333816834). This change is justified.
In addition, [parsers are faster in nom 4 than in nom 3](https://github.com/Geal/nom/issues/356#issuecomment-333816834). This change is justified.

## Replacing parser result matchers

Expand Down

0 comments on commit 3ccab58

Please sign in to comment.