Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
1c70cbf1
Commit
1c70cbf1
authored
Aug 30, 2014
by
Damien George
Browse files
py: Save about 200 bytes of ROM by using smaller type for static table.
parent
ecc88e94
Changes
2
Hide whitespace changes
Inline
Side-by-side
py/mpz.c
View file @
1c70cbf1
...
...
@@ -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
uint
8_t
log_base2_floor
[]
=
{
0
,
0
,
1
,
1
,
2
,
2
,
2
,
2
,
3
,
...
...
py/objint.c
View file @
1c70cbf1
...
...
@@ -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
uint
8_t
log_base2_floor
[]
=
{
0
,
0
,
1
,
1
,
2
,
2
,
2
,
2
,
3
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment