This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] mt_allocator performance improvements


All, Richard,

I suspect today's crazy exchange is ultimately due to this line in the performance improvement:

- --__bin._M_used[__block->_M_thread_id];
+ --__thread_bin._M_used;


which, at the moment, I cannot convince myself is right, i.e., changes *only* the details of the implementation of the allocator without affecting the algorithm.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]