[Verse-dev] re: timeouts

Thorsten Jordan Thorsten_Jordan at gmx.de
Wed Dec 1 16:17:33 CET 2004


Eskil Steenberg wrote:
>>Why not have a log-thread that you can feed data to log, that won't
> 
> affect >the main loop response times?
> 
> Well the main reason is portability, there are thread libs that exist on
> most platforms but it would make it harder for first time builders. It has
> been one of the main objectives of the rewrite that was done last year to
> get rid of outside dependencys like treading. It also makes debugging
> verse applications harder, and since the idea of printouts is to make it
> easier to debug, that kind of defeats the purpose a bit....
> 
> Im not really sure it would be that much faster anyway. Printf would still
> be slow or...?
my tests show that not printf is the problem but printing to a console 
(updating its data) - which is a difference. You can't accelerate that 
except if you would write a faster cmd/bash ;-)
so pipe the output to a file or let verse printf its output to a log 
file, that should be fast enough

-- 
Bis demnaechst, Thorsten


More information about the Verse-dev mailing list