Faster enum comparisons in CSSNode #141

Merged
lucasr merged 1 commits from enum-comparison into master 2015-10-07 05:19:56 -07:00

1 Commits

Author SHA1 Message Date
Lucas Rocha
af09213d1a Faster enum comparisons in CSSNode
Enums are singletons by design so it's safe (and faster) to compare by
reference. This also covers the null case.
2015-10-05 17:07:23 +01:00