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

docs: clarify section on coroutine memory consumption #3225

Merged
merged 2 commits into from Mar 31, 2022

Commits on Mar 29, 2022

  1. docs: clarify section on coroutine memory consumption

    Updates the section "Coroutines are light-weight" to clarify its
    comparison of the resource-intensiveness of coroutines and threads. The
    content is much the same, I've attempted to make it follow the pattern
    of the other sections by introducing the conceptual point first, then
    presenting the code sample.
    
    This commit also makes the code sample in this section runnable and
    omits the surrounding runBlocking block.
    scolsen committed Mar 29, 2022
    Copy the full SHA
    d0ec9a7 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. docs: update coroutines-basics.md

    - Add some additional text that emphasizes that the example code has a
      small memory footprint.
    - Add a note that we should not make the example runnable (since it will
      exhaust the playground heap)
    - Remove //sample(Start|End) comments since they are not recognized for
      code that is not runnable.
    scolsen committed Mar 30, 2022
    Copy the full SHA
    1c85bfa View commit details
    Browse the repository at this point in the history