Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#57 Optimize writing 1D files

open
Denis Barbier
jCAE-mesher (6)
2
2008-01-24
2008-01-24
Denis Barbier
No

org.jcae.mesh.xmldata.MMesh1DWriter performs something like:
remove output file if present
for each edge E:
open output file in append mode
write data
close file

It would be much cleaner to move open/close away from this loop.

Discussion