Revision 01cfea66373d6ac7ee65c323fe7c2755d5d5dd7b authored by Siying Dong on 18 April 2019, 19:07:48 UTC, committed by Facebook Github Bot on 18 April 2019, 19:18:11 UTC
Summary: Several small changes for Next(): 1. Reducing branching by always update local_stats_.next_count_++ even if statistics is null. This should be faster than a branching. 2. Replacing ResetInternalKeysSkippedCounter() in Next() because the valid_ check is not needed in this case. 3. iter_->Valid() should always be true for non merge case. Remove this check. 4. Adding an inline annotation. It ends up with not picked up by my compiler, but it shouldn't hurt. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5200 Differential Revision: D15000391 Pulled By: siying fbshipit-source-id: be97f61c708968234fb8e5cf272b5c2ac07dc4dd
1 parent 992dfc7
File | Mode | Size |
---|---|---|
RocksDBCommonHelper.php | -rw-r--r-- | 11.8 KB |
amalgamate.py | -rwxr-xr-x | 4.7 KB |
build_detect_platform | -rwxr-xr-x | 22.1 KB |
cont_integration.sh | -rwxr-xr-x | 3.4 KB |
dependencies.sh | -rw-r--r-- | 2.1 KB |
dependencies_4.8.1.sh | -rw-r--r-- | 2.2 KB |
dependencies_platform007.sh | -rw-r--r-- | 2.0 KB |
dockerbuild.sh | -rwxr-xr-x | 148 bytes |
error_filter.py | -rw-r--r-- | 6.4 KB |
fb_compile_mongo.sh | -rwxr-xr-x | 1.5 KB |
fbcode_config.sh | -rw-r--r-- | 4.6 KB |
fbcode_config4.8.1.sh | -rw-r--r-- | 3.6 KB |
fbcode_config_platform007.sh | -rw-r--r-- | 4.6 KB |
format-diff.sh | -rwxr-xr-x | 3.9 KB |
gnu_parallel | -rwxr-xr-x | 238.6 KB |
make_package.sh | -rwxr-xr-x | 3.1 KB |
precommit_checker.py | -rwxr-xr-x | 5.6 KB |
regression_build_test.sh | -rwxr-xr-x | 11.3 KB |
rocksdb-lego-determinator | -rwxr-xr-x | 23.2 KB |
run_ci_db_test.ps1 | -rw-r--r-- | 14.5 KB |
setup_centos7.sh | -rwxr-xr-x | 1.1 KB |
update_dependencies.sh | -rwxr-xr-x | 5.2 KB |
version.sh | -rwxr-xr-x | 769 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...