Skip to content

Reuse default methods #8650

Closed
Closed
@graydon

Description

@graydon
Contributor

When a default method is non-type-sensitive, it should recycle its body the same way we recycle monomorphic instances. Presently it is not clear that it does.

Activity

thestinger

thestinger commented on Sep 27, 2013

@thestinger
Contributor

mergefunc is capable of doing this, so I'm closing in favour of #9536 (type_use has been removed)

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

    A-codegenArea: Code generationE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.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

        Participants

        @graydon@thestinger

        Issue actions

          Reuse default methods · Issue #8650 · rust-lang/rust