tctdbaddint() uses slow floating point conversions
Bug #500583 reported by
eulores
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tokyocabinet |
New
|
Undecided
|
Unassigned |
Bug Description
Function tctdbaddint() defined in tctdb.c calls function tctdbaddnumber() which calls slow floating point methods: tctdbatof() and snprintf("%f").
I would have preferred an implementation that
a) works in the integer number space
b) stores the number in the table database encoded in binary (little or big endian).
Drawback: compatibility with older versions is lost :-(
(tokyocabinet version 1.4.41)
To post a comment you must log in.