Faster enum comparisons in CSSNode #141

Merged
lucasr merged 1 commits from enum-comparison into master 2015-10-07 05:19:56 -07:00
lucasr commented 2015-10-05 09:08:58 -07:00 (Migrated from github.com)

Enums are singletons by design so it's safe (and faster) to compare by
reference. This also covers the null case.

Enums are singletons by design so it's safe (and faster) to compare by reference. This also covers the null case.
Sign in to join this conversation.
No description provided.