Skip to content

Conversation

666lcz
Copy link
Contributor

@666lcz 666lcz commented Feb 18, 2022

Limit the max size of the collection to 1MB(placeholder value). The
initializer of an collection object can provide a custom value for max
capacity.

@666lcz 666lcz linked an issue Feb 18, 2022 that may be closed by this pull request
@666lcz 666lcz marked this pull request as ready for review February 18, 2022 05:59
@666lcz 666lcz force-pushed the add-capacity-to-collection branch from f0634b3 to 7ce4f4d Compare February 18, 2022 20:31
@666lcz 666lcz requested a review from lxfind February 18, 2022 20:34
Copy link
Collaborator

@sblackshear sblackshear left a comment

Choose a reason for hiding this comment

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

Nice!

Limit the max size of the collection to 1MB(placeholder value). The
initializer of an collection object can provide a custom value for max
capacity.
@666lcz 666lcz force-pushed the add-capacity-to-collection branch from 7ce4f4d to 832b512 Compare February 19, 2022 00:26
@666lcz 666lcz merged commit 8edc749 into main Feb 19, 2022
@666lcz 666lcz deleted the add-capacity-to-collection branch February 19, 2022 00:43
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.

[Move] Add size limitation to Collection library
3 participants