Nice/src/gnu/bytecode SourceMap.java,1.6,1.7

Daniel Bonniot <[email protected]>
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/gnu/bytecode
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26389/src/gnu/bytecode

Modified Files:
	SourceMap.java 
Log Message:
Do not repeat file_number->file_name mappings. This saves about 50% of the
space.


Index: SourceMap.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/SourceMap.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SourceMap.java	16 Feb 2005 23:31:39 -0000	1.6
--- SourceMap.java	18 Feb 2005 17:15:54 -0000	1.7
***************
*** 128,134 ****
          fileNumber = new Integer(lastFileNumber);
          fileMap.put(file, fileNumber);
        }
  
-     buffer.append(fileNumber.intValue()).append(' ').append(file).append('\n');
      return fileNumber.intValue();
    }
--- 128,135 ----
          fileNumber = new Integer(lastFileNumber);
          fileMap.put(file, fileNumber);
+ 
+         buffer.append(lastFileNumber).append(' ').append(file).append('\n');
        }
  
      return fileNumber.intValue();
    }



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.