py: Save about 200 bytes of ROM by using smaller type for static table.

pull/841/head
Damien George 2014-08-30 00:38:16 +01:00
rodzic ecc88e949c
commit 1c70cbf151
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -482,7 +482,7 @@ STATIC void mpn_div(mpz_dig_t *num_dig, mp_uint_t *num_len, mpz_dig_t *den_dig,
#define MIN_ALLOC (2)
static const uint log_base2_floor[] = {
STATIC const uint8_t log_base2_floor[] = {
0,
0, 1, 1, 2,
2, 2, 2, 3,

Wyświetl plik

@ -105,7 +105,7 @@ typedef mp_longint_impl_t fmt_int_t;
typedef mp_int_t fmt_int_t;
#endif
STATIC const uint log_base2_floor[] = {
STATIC const uint8_t log_base2_floor[] = {
0,
0, 1, 1, 2,
2, 2, 2, 3,