diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-27 09:20:30 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-27 09:20:30 +0100 |
commit | a75b02ea9be41c27b87fd80ad37e7c26b4583fad (patch) | |
tree | a167161db4f7b57d23445314bd0f07bc139ac271 /py/objint.c | |
parent | ad4c014d461cf325712d961c547f461746f52408 (diff) |
py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES.
Saves ROM (16 on stmhal, 240 on 64-bit unix) and should be quicker since
there is 1 less branch.
Diffstat (limited to 'py/objint.c')
-rw-r--r-- | py/objint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objint.c b/py/objint.c index a77138350..c190c1800 100644 --- a/py/objint.c +++ b/py/objint.c @@ -38,6 +38,7 @@ #include "smallint.h" #include "mpz.h" #include "objint.h" +#include "objstr.h" #include "runtime0.h" #include "runtime.h" |