We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__builtin_strcmp
1 parent 8b7237b commit e2bba3cCopy full SHA for e2bba3c
py/misc.h
@@ -299,7 +299,7 @@ typedef struct {
299
inline __attribute__((always_inline)) const char *MP_COMPRESSED_ROM_TEXT(const char *msg) {
300
// "genhdr/compressed.data.h" contains an invocation of the MP_MATCH_COMPRESSED macro for each compressed string.
301
// The giant if(strcmp) tree is optimized by the compiler, which turns this into a direct return of the compressed data.
302
- #define MP_MATCH_COMPRESSED(a, b) if (strcmp(msg, a) == 0) { return b; } else
+ #define MP_MATCH_COMPRESSED(a, b) if (__builtin_strcmp(msg, a) == 0) { return b; } else
303
304
// It also contains a single invocation of the MP_COMPRESSED_DATA macro, we don't need that here.
305
#define MP_COMPRESSED_DATA(x)
0 commit comments