Reasoning behind equality generation deletion
liri2006 opened this issue · 3 comments
liri2006 commented
I'm curious, why functional_widget no longer generates the equal operation overloads (that was, in my opinion, a quite a neat benefit to usage of swidget)?
rrousselGit commented
This behavior was deprecated. Overriding == on widgets is now disrecommended
liri2006 commented
@rrousselGit Thanks, but do you maybe know why?
rrousselGit commented
Because the performance benefits aren't so clear
And it's easy to end-up with an inefficient == and end-up comparing the entire widget tree.