Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-793

Returned futures are very large

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-beta.3
    • Affects Version/s: None
    • Component/s: None
    • None

      The size of the futures returned from our various methods are really large, to the point of triggering stack overflows on Windows in some of our tests. We should investigate how to reduce the size of these futures to avoid that as well as possibly improve performance.

      Related: https://github.com/rust-lang/wg-async-foundations/blob/master/src/vision/submitted_stories/status_quo/alan_runs_into_stack_trouble.md

       

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: