rrousselGit/functional_widget

Reasoning behind equality generation deletion

liri2006 opened this issue · 3 comments

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)?

This behavior was deprecated. Overriding == on widgets is now disrecommended

@rrousselGit Thanks, but do you maybe know why?

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.