Damien George 88d7bba961 py: Make it so that printing a small int does not allocate heap memory.
With the implementation of proper string formatting, code to print a
small int was delegated to mpz_as_str_inpl (after first converting the
small int to an mpz using stack memory).  But mpz_as_str_inpl allocates
heap memory to do the conversion, so small ints needed heap memory just
to be printed.

This fix has a separate function to print small ints, which does not
allocate heap, and allocates less stack.

String formatting, printf and pfenv are now large beasts, with some
semi-duplicated code.
2014-04-08 23:30:46 +01:00
..
2014-03-17 02:43:40 -07:00
2014-04-02 15:56:31 +01:00
2014-03-17 02:43:40 -07:00
2014-04-01 01:17:33 -07:00
2014-03-17 02:43:40 -07:00
2014-03-17 02:43:40 -07:00
2014-03-17 02:43:40 -07:00
2014-04-08 22:11:40 +03:00
2014-03-30 13:35:08 +01:00
2014-03-30 13:35:08 +01:00
2014-03-30 13:35:08 +01:00
2014-04-05 20:51:29 +01:00
2014-03-30 13:35:08 +01:00
2014-04-08 19:08:34 +03:00
2014-03-30 23:30:15 +03:00
2014-03-17 02:43:40 -07:00
2014-03-17 02:43:40 -07:00