~smspillaz/folly/folly-git-master

Viewing all changes in revision 6076.

  • Committer: Facebook Github Bot
  • Author(s): Anton Likhtarov
  • Date: 2018-09-21 19:46:31 UTC
  • Revision ID: git-v1:ecdcc6d88b1990b5fb10c32a9f49e82015b35310
Perf: specialization for small types

Summary:
- Change the get() API to return T by value if T is small
- Internally store small T in a global atomic to avoid thread local lookups

Differential Revision: D9982433

fbshipit-source-id: c42d06a75b9ff48307a90f77d0bb72bfa6375d6c

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: