diff --git a/docs/notework.txt b/docs/notework.txt index c4dad45..316ddba 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -12,6 +12,9 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ +! Thread list optimized a bit by speed. It aslo should not crash on + long threads now. + - Fixed serious bug with forwarding when ADDRESSLOOKUPFIRST set to MSGID (or no Origin line available) and you call either spellchecker or EditLoadFile function. The address was set to the address of diff --git a/goldnode/goldnode.cpp b/goldnode/goldnode.cpp index ab92ca6..8dfe79f 100644 --- a/goldnode/goldnode.cpp +++ b/goldnode/goldnode.cpp @@ -45,8 +45,9 @@ #include #include #include +#include -//#define GOLDNODE_STATS 1 +#define GOLDNODE_STATS 1 #ifdef GOLDNODE_STATS #include @@ -497,7 +498,7 @@ void calc_statistic(std::ofstream &ofp, int* observation, float N) { } ofp << "|-----+-------+-------+--------+--------------|" << std::endl - << "| sum | " << std::setprecision(0) << std::setw(5) << N << " | " << std::setprecision(3) << std::setw(5) << sumfrekvens << " | " << std::setw(5) << mean << " | " << std::setw(12) << varians << " |" << std::endl + << "| sum | " << std::setprecision(0) << std::setw(5) << N << " | " << std::setprecision(3) << std::setw(5) << sumfrekvens << " | " << std::setw(6) << mean << " | " << std::setw(12) << varians << " |" << std::endl << "`---------------------------------------------'" << std::endl << std::endl << "Mean: " << std::setprecision(1) << mean << std::endl @@ -858,7 +859,7 @@ static void read_nodelists() { if(not ofp) { if(not quiet) std::cout << "Error opening statfile " << statfilename << '!' << std::endl; } - else + else { ofp << "Nodename size statistics:" << std::endl; calc_statistic(ofp, statistic.nodename, nodes);