[Python-Dev] Strategy for converting the decimal module to C (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jul 20 03:30:50 CEST 2006
- Previous message: [Python-Dev] Strategy for converting the decimal module to C
- Next message: [Python-Dev] Python sprint in NY and CA, Aug. 21-24
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Maclaren wrote:
When such arithmetic is implemented in hardware, it is normal for exceptional cases to be handled by interrupt, and that is VERY expensive ... It then becomes important to know how many of the things you got, to know whether it is worth putting code in to avoid them or even using a different algorithm.
But couldn't you just put in an interrupt handler that counts the interrupts, for the purpose of measurement?
-- Greg
- Previous message: [Python-Dev] Strategy for converting the decimal module to C
- Next message: [Python-Dev] Python sprint in NY and CA, Aug. 21-24
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]