tctdbaddint() uses slow floating point conversions

Bug #500583 reported by eulores
6
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)

Tags: enhancement
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.