dynarr: find by pointer/selector function/equal function