summaryrefslogtreecommitdiff
path: root/CodingStyle
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-08-26 23:19:45 -0700
committerSamuel Just <sam.just@inktank.com>2013-08-26 23:19:47 -0700
commiteeb1f863b29d849fd81ee2a8c6ffc821db932ce7 (patch)
treeee775e4d93d437ff921f563cdf3cb8d61f173726 /CodingStyle
parent39adc0195e6016ce36828885515be1bffbc10ae1 (diff)
downloadceph-wip-dumpling-log-assert.tar.gz
PGLog: move the log size check after the early returnwip-dumpling-log-assert
Amazingly, some versions of g++ (like the one on my ubuntu 12.04 machine) appear to have a list::size() which is linear in the size of the list. That assert, therefore, is quite expensive! Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'CodingStyle')
0 files changed, 0 insertions, 0 deletions