Skip to content

Conversation

@Doryu001
Copy link

stop rebuilding the PrettyAge string with fmt.Sprintf on every step, use strings.Builder plus strconv.FormatInt to append each component once, drop the now-unused fmt import

@rjl493456442
Copy link
Member

I don't see a big reason for adopting the changes you purposed. PrettyAge is not a performance critical function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants