From a75b02ea9be41c27b87fd80ad37e7c26b4583fad Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 27 Aug 2014 09:20:30 +0100 Subject: 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. --- py/objint.c | 1 + 1 file changed, 1 insertion(+) (limited to 'py/objint.c') 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" -- cgit v1.2.3