forked from zhihu/Matisse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using HashSet here is a waste of memory. HashSet stands on HashMap, which will alloc amount of memory. The only usage is to travel the contents of the Set, ArraySet matches the scene. Besides, it's a really bad practice to use inner class to "initialize" a set. It will produce more classes.
- Loading branch information
Showing
1 changed file
with
54 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters