summaryrefslogtreecommitdiff
path: root/src/common/zstd_compression.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-20 17:40:04 -0400
committerLioncash <mathew1800@gmail.com>2020-07-20 17:48:00 -0400
commit26c6c71837728f8348602474f2dc884a1da0664e (patch)
treebafb61af6a4b7f6093d65ac650ab946d9fa537af /src/common/zstd_compression.cpp
parentad0b2951250979549082fdef3ba4fd93a720b5df (diff)
buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()
We can make use of emplace()'s return value to determine whether or not we need to perform an increment. emplace() performs no insertion if an element already exist, so this can eliminate a find() call.
Diffstat (limited to 'src/common/zstd_compression.cpp')
0 files changed, 0 insertions, 0 deletions