Update formatReadable.cpp

This commit is contained in:
Alexander Kuzmenkov 2021-03-31 18:40:33 +03:00 committed by GitHub
parent 73e72018fd
commit deaba9f722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,9 @@ namespace DB
}
}
// Marked ALWAYS_INLINE to prevent flappy performance tests.
static void ALWAYS_INLINE formatReadable(double size, DB::WriteBuffer & out,
// I wanted to make this ALWAYS_INLINE to prevent flappy performance tests,
// but GCC complains it may not be inlined.
static void formatReadable(double size, DB::WriteBuffer & out,
int precision, const char ** units, size_t units_size, double delimiter)
{
size_t i = 0;