mirror of
https://github.com/google/leveldb.git
synced 2024-12-18 09:07:47 +08:00
201f52201f
Clang 10 includes the optimizations described in https://bugs.llvm.org/show_bug.cgi?id=41761. This means that the platform-independent implementations of {Decode,Encode}Fixed{32,64}() compile to one instruction on the most recent Clang and GCC. PiperOrigin-RevId: 306330166 |
||
---|---|---|
.. | ||
port_config.h.in | ||
port_example.h | ||
port_stdcxx.h | ||
port.h | ||
README.md | ||
thread_annotations.h |
This directory contains interfaces and implementations that isolate the rest of the package from platform details.
Code in the rest of the package includes "port.h" from this directory. "port.h" in turn includes a platform specific "port_.h" file that provides the platform specific implementation.
See port_stdcxx.h for an example of what must be provided in a platform specific header file.