Skip to content

time: optimise time.GoString #54436

@amarjeetanandsingh

Description

@amarjeetanandsingh

Currently Time.GoString uses methods like Year(), Month(), Day() to generate the string. These methods call absDate() internally. We can improve the performance by avoiding multiple calls to absDate().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions