Skip to content

Commit

Permalink
doc(upgrading) Fix the memory footprint Section
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan authored Jan 19, 2018
1 parent 9a4a766 commit 6b19bdd
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 6b19bdd

Please sign in to comment.