replace-attoparsec v1.2.0.0 Release Notes

Release Date: 2019-11-01 // over 4 years ago
  • Benchmark improvements

    Specializations of the sepCap function, guided by replace-benchmark.

    ๐Ÿ†• New benchmarks

    ๐Ÿ“œ | Program | dense | sparse | | :--- | ---: | ---: | โœ… | Replace.Attoparsec.ByteString.streamEdit | 394.12ms | 41.13ms | ๐Ÿ“œ | Replace.Attoparsec.Text.streamEdit | 515.26ms | 46.10ms |

    Old benchmarks

    ๐Ÿ“œ | Program | dense | sparse | | :--- | ---: | ---: | โœ… | Replace.Attoparsec.ByteString.streamEdit | 537.57ms | 407.33ms | ๐Ÿ“œ | Replace.Attoparsec.Text.streamEdit | 549.62ms | 280.96ms |

    Also don't export getOffset anymore. It's too complicated to explain ๐Ÿ“œ what it means for Text. If users want to know positional parsing information ๐Ÿ“œ then they should use Megaparsec.