Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Massive save state speedup #37

Merged
merged 5 commits into from Nov 22, 2018
Merged

Massive save state speedup #37

merged 5 commits into from Nov 22, 2018

Commits on Nov 19, 2018

  1. Cache the last serialized state

    Because libretro has an API that asks for the size seperately, and we
    have to serialize to get the size, the end result is that we change from
    2 serializations for each save state down to 1.
    Dr-Emann committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    55c3867 View commit details
    Browse the repository at this point in the history
  2. Huge speedup on serialization

    Using serde_bytes to use bincode's fast path for bytes
    Dr-Emann committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    5357ccb View commit details
    Browse the repository at this point in the history
  3. Serialize at the same time as compression

    By using the writer interface, there's no need to fully serialize into a
    vec, then compress, we can do both at the same time
    Dr-Emann committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    66f2380 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2018

  1. Configuration menu
    Copy the full SHA
    cd8ef76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13d084e View commit details
    Browse the repository at this point in the history