This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 6/6] gdbserver build-id attribute generator


> Date: Wed, 27 Mar 2013 15:50:28 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
> 
> (a) qsort has the n*log(n) complexity no matter how sorted the input is.

AFAIK, it has O(n^2) worst-case complexity.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]