Searched hist:289159 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/bin/sh/
H A Dvar.cdiff 289159 Sun Oct 11 19:41:52 MDT 2015 jilles sh: Make struct arglist an array instead of a linked list.

This simplifies the code (e.g. allowing use of qsort(3) instead of a
hand-rolled mergesort) and should have better cache properties.

The waste of unused args arrays after resizes is approximately the same as
the savings from getting rid of the next pointers.

At the same time, remove a piece of global state and move some duplicated
code into a function.

Completed in 61 milliseconds