On Fri, Aug 18, 2017 at 11:02 PM, Christopher Li <sparse@xxxxxxxxxxx> wrote: > > If you are going for simple. why not just make > struct ptrpair as allocatable object then have > struct ptrpair_list as normal ptrlist? A bit less memory and one indirection less. > The add would be normal ptrlist add. > The lookup is just FOREACH_PTR loop. > The update is lookup then change the value. > > That could safe you some code. The difference > will be, your current ptrlist has better cache > behavior. But if you care that much then it should > move to hash implementation It will be done soon. -- Luc -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html