Boost logo

Boost :

From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-04-03 01:27:20

Hello Caleb,

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, gregod at, cpdaniel at, john at