Browse Source
Teach the string-list API how to remove an entry in O(1) runtime by moving the last entry to the vacated spot. As such, the routine works only for unsorted lists. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Johannes Sixt
13 years ago
committed by
Junio C Hamano
3 changed files with 20 additions and 0 deletions
Loading…
Reference in new issue