Skip to content

Added getOrPut and getOrSet into Hyperf\Collection\Collection.#6784

Merged
limingxinleo merged 6 commits intohyperf:masterfrom
huangdijia:add-collection-get-or-put
May 23, 2024
Merged

Added getOrPut and getOrSet into Hyperf\Collection\Collection.#6784
limingxinleo merged 6 commits intohyperf:masterfrom
huangdijia:add-collection-get-or-put

Conversation

@huangdijia
Copy link
Copy Markdown
Member

No description provided.

The recent code changes optimize the Collection class by using EnumeratesValues. This improves the performance and efficiency of the Collection operations.
@huangdijia huangdijia marked this pull request as ready for review May 22, 2024 05:59
@huangdijia huangdijia requested a review from limingxinleo May 22, 2024 13:05
@limingxinleo limingxinleo changed the title Added Collection::getOrPut() Added getOrPut and getOrSet into Hyperf\Collection\Collection. May 23, 2024
limingxinleo
limingxinleo previously approved these changes May 23, 2024
@limingxinleo limingxinleo merged commit 7439be8 into hyperf:master May 23, 2024
@huangdijia huangdijia deleted the add-collection-get-or-put branch May 23, 2024 05:48
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