Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Update FullQualifiedName.java#32

Open
sb-aigh wants to merge 1 commit into
apache:masterfrom
sb-aigh:patch-2
Open

Update FullQualifiedName.java#32
sb-aigh wants to merge 1 commit into
apache:masterfrom
sb-aigh:patch-2

Conversation

@sb-aigh

@sb-aigh sb-aigh commented Mar 4, 2020

Copy link
Copy Markdown

performance / allocation improvement

performance / allocation improvement

@shivasaxena shivasaxena left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it necessary to do this?

@sb-aigh

sb-aigh commented Apr 7, 2020

Copy link
Copy Markdown
Author

Isn't it faster (and maybe less mem consumption?) to calculate the fullQualifiedName once in the constructor instead of calculating it each time when toString() is called?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants