Implementing std.log

dsimcha dsimcha at yahoo.com
Sun May 8 10:50:46 PDT 2011


On 5/8/2011 11:45 AM, Jose Armando Garcia wrote:
> I am not sure I follow. Writing to disk is slower than writing to
> memory so you want to hide some of the cost of logging by either
> buffering the write/log requests or messaging the requests to another
> thread to do the logging for you. Does that answer your question?
>

I thought that might be the reason.  Makes sense if you have so much 
logging that it's a significant bottleneck, but I can't believe people 
write code like that.


More information about the Digitalmars-d mailing list