drop comment debug test information
This commit is contained in:
parent
8534238eba
commit
8f6b7dace4
|
@ -1,7 +1,6 @@
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.20)
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.20)
|
||||||
PROJECT(TDengine)
|
PROJECT(TDengine)
|
||||||
|
|
||||||
|
|
||||||
IF (TD_ACCOUNT)
|
IF (TD_ACCOUNT)
|
||||||
ADD_DEFINITIONS(-D_ACCT)
|
ADD_DEFINITIONS(-D_ACCT)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
|
@ -75,10 +75,6 @@ extern bool lossyDouble;
|
||||||
int tsCompressInit();
|
int tsCompressInit();
|
||||||
// exit call
|
// exit call
|
||||||
void tsCompressExit();
|
void tsCompressExit();
|
||||||
|
|
||||||
void cost_start();
|
|
||||||
double cost_end(const char* tag);
|
|
||||||
void show_rate( int in_len, int out_len);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static FORCE_INLINE int tsCompressTinyint(const char *const input, int inputSize, const int nelements, char *const output, int outputSize, char algorithm,
|
static FORCE_INLINE int tsCompressTinyint(const char *const input, int inputSize, const int nelements, char *const output, int outputSize, char algorithm,
|
||||||
|
@ -233,15 +229,8 @@ static FORCE_INLINE int tsCompressFloat(const char *const input, int inputSize,
|
||||||
if (algorithm == ONE_STAGE_COMP) {
|
if (algorithm == ONE_STAGE_COMP) {
|
||||||
return tsCompressFloatImp(input, nelements, output);
|
return tsCompressFloatImp(input, nelements, output);
|
||||||
} else if (algorithm == TWO_STAGE_COMP) {
|
} else if (algorithm == TWO_STAGE_COMP) {
|
||||||
//cost_start();
|
|
||||||
int len = tsCompressFloatImp(input, nelements, buffer);
|
int len = tsCompressFloatImp(input, nelements, buffer);
|
||||||
//cost_end(" td_first_compress");
|
return tsCompressStringImp(buffer, len, output, outputSize);
|
||||||
//show_rate(inputSize, len);
|
|
||||||
//cost_start();
|
|
||||||
int ret = tsCompressStringImp(buffer, len, output, outputSize);
|
|
||||||
//cost_end(" td_second_compress");
|
|
||||||
//show_rate(inputSize, ret);
|
|
||||||
return ret;
|
|
||||||
} else {
|
} else {
|
||||||
assert(0);
|
assert(0);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue