Nicolas Pitre <nico@xxxxxxx> wrote: > On Sun, 13 Jul 2008, Shawn O. Pearce wrote: > > But this patch is suboptimal as it actually recreate the same memory > pressure, to a lesser degree, this series is meant to solve. If you do: Arrgh. Good catch on review. I'll post a replacement patch shortly that doesn't suffer from this problem. Thanks! > > + struct object_entry *obj = c->obj; > > + void *raw = get_data_from_pack(obj); > > + if (obj->type == OBJ_REF_DELTA || obj->type == OBJ_OFS_DELTA) { > > + c->data = patch_delta( > > + get_base_data(c->base), c->base->size, > > + raw, obj->size, > > + &c->size); > > + free(raw); -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html