From: Sam Schetterer (samthecppman_at_[hidden])
Date: 2007-03-27 18:02:02
On 3/27/07, Lewis Hyatt <lhyatt_at_[hidden]> wrote:
> Sam Schetterer wrote:
> > Yes. The files are all in /Sorting. I have redone the program on gcc so
> > there are no operating system dependencies, and also I have fixed all of
> > errors, and it is uploaded to vault. If you are running a low-memory
> > machine, then you should consider modifying the maxn variable so that it
> > lower.
> Also, as currently written, your create_id_string function writes to
> uninitialized memory when it calls _ui64toa, which probably explains
> some of the crashes I have seen before. Another reason you should be
> using portable and safe conversion functions. Get it working first, and
> then if you find that this function is a performance problem, deal with
> it then.
I have no explanation for why winsock2.h is included in the mkquicksort.hpp.
That is really strange. I will fix the create_id_string problem as much as I
can, and hopefully, it will not be a performance problem. Thanks for
notifying me of the problem.