hi
we found errors in our db, so i have to recompute all values in most of the tables (dumped in ascii format). the are very big >100'000 lines, every rows has >100 fields, the values are also big >10^9 and on each row are 10 arithmetic compounds to exec.
- i first try to generate an input file for /bin/bc using sed
it works fine and is ... terribly slow, unacceptable !!
- the same using /bin/dc
2-3 times faster, still unacceptable !!
- so using 'c' for and /bin/dc i get better results, takes 1h for 50k lines
i'm sure, a w+r pipe to /bin/dc in my c programm will make me happy
can somebody help me to do this ??
merci
iribach
we found errors in our db, so i have to recompute all values in most of the tables (dumped in ascii format). the are very big >100'000 lines, every rows has >100 fields, the values are also big >10^9 and on each row are 10 arithmetic compounds to exec.
- i first try to generate an input file for /bin/bc using sed
it works fine and is ... terribly slow, unacceptable !!
- the same using /bin/dc
2-3 times faster, still unacceptable !!
- so using 'c' for and /bin/dc i get better results, takes 1h for 50k lines
i'm sure, a w+r pipe to /bin/dc in my c programm will make me happy
can somebody help me to do this ??
merci
iribach