Skip to content
Discussion options

You must be logged in to vote

That's on purpose. Constructors are supposed to be cheap. ToTagSetConvertible is subject to normalization, after which it becomes FrozenSet[Tag]. Normalization is kept out of the constructor code path specifically to avoid paying the normalization cost repeatedly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matthiasdiener
Comment options

Answer selected by matthiasdiener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #136 on May 19, 2022 15:52.