Skip to content

Could rustdoc annotate complexity? #2859

@i30817

Description

@i30817

I liked using glazedlist javadocs because their documentation had a simple O(n) notation for concrete implementations of datastructures
(ex : http://publicobject.com/glazedlists/glazedlists-1.8.0/api/ca/odell/glazedlists/BasicEventList.html )

I wonder if it would be possible to generalize this sort of thing into the doc tool, and maybe to infer the minimum complexity of a new piece of code (composition)?

I don't know if it is feasible

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions