ox_flush
"ox_batch"
switch of "ctrl"
.
ctrl("ox_batch",1)
may decrease the overhead of flush operations.
Of course, one has to call ox_flush(id)
at the end of
the sending operations.
ox_pop_cmo
and ox_pop_local
enter a waiting mode immediately after sending a command.
These functions always flush the sending buffer.
[340] ox_launch_nox(); 0 [341] cputime(1); 0 7e-05sec + gc : 4.8e-05sec(0.000119sec) [342] for(I=0;I<10000;I++)ox_push_cmo(0,I); 0.232sec + gc : 0.006821sec(0.6878sec) [343] ctrl("ox_batch",1); 1 4.5e-05sec(3.302e-05sec) [344] for(I=0;I<10000;I++)ox_push_cmo(0,I); ox_flush(0); 0.08063sec + gc : 0.06388sec(0.4408sec) [345] 1 9.6e-05sec(0.01317sec)
ox_pop_cmo
, ox_pop_local
, section ctrl
Go to the first, previous, next, last section, table of contents.