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

*: remove unnecessary async blocks to save memory (#16541) #16669

Merged

Commits on May 22, 2024

  1. *: remove unnecessary async blocks to save memory

    This commit favors FutureExt::map over async blocks to mitigate
    the issue of async block doubled memory usage. Through the sysbench
    oltp_read_only test, it was observed that this adjustment resulted
    in approximately 26% reduction in memory usage.
    
    See: rust-lang/rust#59087
    
    Signed-off-by: Neil Shen <overvenus@gmail.com>
    overvenus committed May 22, 2024
    Configuration menu
    Copy the full SHA
    a9fc87d View commit details
    Browse the repository at this point in the history
  2. fix build

    Signed-off-by: Neil Shen <overvenus@gmail.com>
    overvenus committed May 22, 2024
    Configuration menu
    Copy the full SHA
    03dd055 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d84c99 View commit details
    Browse the repository at this point in the history