]> git.donarmstrong.com Git - mothur.git/blobdiff - groupmap.cpp
sped up splitting of distance file by 2.5 times by buffering the read and writes.
[mothur.git] / groupmap.cpp
index 939cdb9040e67c62416f76cda30b86dbead73654..bc871c8e68e27ae1a90ccea96b3121aaea5611e3 100644 (file)
 int GroupMap::readMap() {
                string seqName, seqGroup;
                int error = 0;
-       
+
                while(fileHandle){
                        fileHandle >> seqName;                  //read from first column
                        fileHandle >> seqGroup;                 //read from second column
                        
                        if (m->control_pressed) {  fileHandle.close();  return 1; }
-                       
+       
                        setNamesOfGroups(seqGroup);
                        
                        it = groupmap.find(seqName);