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

core: reuse buffers in persist() #772

Merged
merged 1 commit into from
Mar 25, 2020
Merged

core: reuse buffers in persist() #772

merged 1 commit into from
Mar 25, 2020

Commits on Mar 25, 2020

  1. core: reuse buffer in (*cacheddao).Persist()

    When serializing multiple accounts, cost of a buffer grow
    can become significant. This commit tries to amortize it by
    reusing the same buffer in a single `Persist()` call.
    fyrchik committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    c992d6c View commit details
    Browse the repository at this point in the history