From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-04-03 01:27:20
Tuesday, April 3, 2007, 5:59:32 AM, you wrote:
>> 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.
-- Best regards, Andrey mailto:andysem_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk