text_combined: nick coghlan uytankmfgmailcom mark dickinson wrote wed mar 26 2008 257 nick coghlan wrote greg ewing wrote thought decimal going replaced c implementation soon anyway worth going much trouble believe found trouble worth optimisations focused various ways making python implementation efficient think still worth considering hybrid implementation decimal c code basic integer arithmetic supply long int replacement whose underlying implementation works base power 10 python complicated logic dealing flags special values etc speed things usual cases also give everything right asymptotics people using decimal really high precision arithmetic right addition two decimals takes quadratic time decimal long integer implementation already sandbox probably isnt much work sounds ah didnt know guess youre talking extracting integer arithmetic section decimalc implementation case yes using custom type guts mantissa arithmetic instead trying get reasonable speed mixture builtin types would good thing would obviously eliminate current performance problems py3k version decimal think would feasible get done first beta beginning june look _decimalc sandbox see much help could offer confess eyes started glaze bit would better pursue simple c object stored sequence integers provided methods fast conversion tofrom long 2630 defer arithmeticinc 31 cheers nick nick coghlan uytankmfgmailcom brisbane australia httpwwwboredomandlazinessorg _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 102538 1000 pythondev decimalunicode