This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
--- On Mon, 3/30/09, Paul Richard Thomas <paul.richard.thomas@gmail.com> wrote:
Well, if not Treaps, what about a simple binary tree? I guess that for the applications that we are talking about, balancing is not too much of an issue?
Cheers
Paul
although not very sexy, the plain old boring ordered list (or even un-ordered list) would work fine for these tiny values of N.
ordered list, average number of compares would be 8 . in the noise...
kudos to jerry for the caching idea..it is a good one.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |