filter_group() could be optimized
Submitted by Guillaume Desmottes
Link to original bug (#685281)
Description
While tracking bug #685278 I did some profiling using sysprof (which is awesome btw) and noticed that most of the time was spent filter_group() -> contact_should_be_displayed().
We should try to optimize this a bit.
Version: 2.33.x