-
Notifications
You must be signed in to change notification settings - Fork 48
[Feature] messages.next() returns a different address object #277
Open
Labels
Description
> always return the same Object is reduce memory pressure and avoid GC
Yep~ But semantically, messages.next() returns a different address object more intuitive.
Otherwise, someone who call this function downstream need to clearly know that the same object is returned here, which is not logically intuitive and easy to make mistakes.
Do we have some more elegant solutions?
Originally posted by @diaohancai in #275 (comment)
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.