Don't flush the stream on each new line, when writing automata.
* src/tgbaalgos/neverclaim.cc, src/tgbaalgos/dotty.cc, src/tgbaalgos/save.cc: Prefer '\n' over std::endl to speedup I/O. * src/ltltest/genltl.cc (syntax): Use '\n' too, although it won't make a big difference.
This commit is contained in:
parent
ba3108f98d
commit
9c4adf1eb4
5 changed files with 54 additions and 52 deletions
|
|
@ -45,7 +45,7 @@ namespace spot
|
|||
start()
|
||||
{
|
||||
os_ << "acc =";
|
||||
print_acc(automata_->all_acceptance_conditions()) << ";" << std::endl;
|
||||
print_acc(automata_->all_acceptance_conditions()) << ";\n";
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -61,7 +61,7 @@ namespace spot
|
|||
os_ << "\", \"";
|
||||
escape_str(os_, bdd_format_formula(d, si->current_condition()));
|
||||
os_ << "\",";
|
||||
print_acc(si->current_acceptance_conditions()) << ";" << std::endl;
|
||||
print_acc(si->current_acceptance_conditions()) << ";\n";
|
||||
dest->destroy();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue