
3 Apr
2007
3 Apr
'07
5:27 a.m.
Hello Caleb, Tuesday, April 3, 2007, 5:59:32 AM, you wrote: [snip]
std::strstream logger::m_str ?
What about a thread-local stream object that is reused?
An access to TLS may cost some time (basically, it's a search on a tree or a hash-table), which will take place at each log record. IMHO, this may harm the performance. [snip] -- Best regards, Andrey mailto:andysem@mail.ru