Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-776

Decode changesets lazily during downloads

      Currently we parse changesets from download messages all at once into a std::vector of Instructions. This means that we loose a lot of the benefits of the highly space-efficient encoding of changesets during integration which can cause memory pressure on clients. We should make decoding of changesets lazy, so that we decode instructions as needed while iterating changesets, with a cache for interned strings that only stores offsets into the encoded changeset buffer to produce StringData's for InternedStrings.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: