Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render functions: render in a buffer #48

Merged
merged 2 commits into from
Dec 25, 2020

Commits on Dec 24, 2020

  1. render: use a Buffer directly

    Rendering does not use any pretty-printing commands, so it does not
    need the expressivity of Format. Using a Buffer directly is just as
    flexible (we can output to a format or a string later), yet simpler
    and faster. In a rendering microbenchmark I see a 20% speedup.
    gasche committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    b61a582 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d2d7db View commit details
    Browse the repository at this point in the history