Skip to content

Conversation

@eguiraud
Copy link
Contributor

@eguiraud eguiraud commented Sep 4, 2017

Compared to GetAtSlotUnchecked, GetAtSlotRaw trades some more
safety for some more performance: not only it avoids checking for
slot initialization (as GetAtSlotUnchecked does) but it also avoids
(copy-)construction of a shared_ptr.

I can add a test, just tell me where :)

Compared to `GetAtSlotUnchecked`, `GetAtSlotRaw` trades some more
safety for some more performance: not only it avoids checking for
slot initialization (as `GetAtSlotUnchecked` does) but it also avoids
construction of a `shared_ptr`.
@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

1 similar comment
@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@dpiparo
Copy link
Member

dpiparo commented Sep 5, 2017

Hi @bluehood , this is exactly the feature we discussed a while ago. To make the PR even more complete, I could suggest a gtest for TThreadedObject, which would also increase our coverage given that it is a template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants