Commit 1c70cbf1 authored by Damien George's avatar Damien George
Browse files

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

parent ecc88e94
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment