Forum OpenACS Q&A: Re: Just the database API
Personally I'd be surprised if the string overhead was significant enough to justify the hassle of using some other than the standard ns_db API. But, anyone curious should probably ask Jeff...
It's not that common a use case though.
The other thing was that tcl's handling of floats and ints etc is problematic. This turned up when doing these financial calculations since you would have round numbers going into a formula and get the wrong result like this:
% set x 1 1 % set y 3 3 % expr $x / $y 0I also thought about making it so that floats were returned with .0 tacked on to avoid this sort of problem.