some fixes

used more library friendly optimization level

fixed buffer

fixed some compiler warnings

made the code work with g++ and without warnings

lists now sort on heap to prevent stack overflows

(0) -30 -10 -6 +6 +10 +30 +100 +300 tip

mercurial