Skip to content

io::println allocates on the GC heap #3558

Closed

Description

@pcwalton

This is pretty bad. It's due to boxed traits.

Activity

  1. jruderman commented on Sep 23, 2012

    @jruderman
    Contributor

    Will #3157 fix this?

  2. catamorphism commented on May 23, 2013

    @catamorphism
    Contributor

    This is still true, but should be easy to fix. Nominating for milestone 5, production-ready.

  3. graydon commented on Jun 20, 2013

    @graydon
    Contributor

    dupe / completely-absorbed-by #4248

  4. added a commit that references this issue on May 15, 2021
  5. added 2 commits that reference this issue on May 4, 2024
  6. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions