diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-30 00:38:16 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-30 00:38:16 +0100 |
commit | 1c70cbf1510a958c6dd0add5713a71c16e0fea71 (patch) | |
tree | 37b069fdcb0ad2fe05f91bd996e0fb348810b781 /py/objint.c | |
parent | ecc88e949ca5e307d22da4605a40d39ea2df9e3b (diff) | |
download | micropython-1c70cbf1510a958c6dd0add5713a71c16e0fea71.tar.gz micropython-1c70cbf1510a958c6dd0add5713a71c16e0fea71.zip |
py: Save about 200 bytes of ROM by using smaller type for static table.
Diffstat (limited to 'py/objint.c')
-rw-r--r-- | py/objint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint.c b/py/objint.c index b0c904bca9..16e868a37b 100644 --- a/py/objint.c +++ b/py/objint.c @@ -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, |