Overview
| Artifact ID: | aa6bba4591386e414f4cb4d1b0e7e4c03709261b |
|---|---|
| Ticket: | 2800740fffffffffffffffffffffffffffffffff
libtommath crash |
| User & Date: | dgp on 2009-06-05 01:25:50 |
Changes
- icomment:
confirmed. On a Linux x86_64 system, Tcl's default configuration sets sizeof(mp_digit) to 8, so that the dp[] array is made up of 64-bit integer elements, and also sets DIGIT_BIT to 28, so that we are only using 28 out of each 64 bits to represent the numeric value. Over 50% waste! Some parts of the Tcl public interface accept (mp_int *) arguments. Are we still free to change these settings without creating ABI incompatibilities there? Even if we are not, can we plausibly argue even in an 8.5.8 release that what we are really doing is fixing a bug in the implementation?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"