Menu

Commit [r8866]  Maximize  Restore  History

trying to speed up writing of plans to file, mostly by removing string concatenations in favor of multiple calls to out.write(). String concatenation with + generates many new String objects that must be allocated and later garbage collected, leading so some overhead.

mrieser 2009-09-27

changed /matsim/trunk/src/org/matsim/core/population/PopulationWriter.java
changed /matsim/trunk/src/org/matsim/core/population/PopulationWriterHandlerImplV4.java
/matsim/trunk/src/org/matsim/core/population/PopulationWriter.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/org/matsim/core/population/PopulationWriterHandlerImplV4.java Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.