elect
10/11/2019, 11:33 AMEnumSet
which couldnt fit my needs?
Well, nowadays after started playing with Swift, I can better define one of the disadvantage of EnumSet
(at least for me): on jvm is a class, and it's passed by reference, deeper functions may modify the original content.
While on Swift is instead a value type and then there is no problem passing it down to functions.
Maybe it's possible to clone it, by this would introduce additional overhead in terms of verbosity and performances (I use flag intensively)gildor
10/12/2019, 1:03 AMnapperley
10/13/2019, 1:18 AMgildor
10/13/2019, 2:00 AM