| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Replace "const char *typecode;" with "char typecode[3];" to make the arraydescr structure smaller and avoids an indirection.
Documentation build overview2 files changed ± library/functions.html ± whatsnew/3.15.html |
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me. Enough to change the struct field back to its previous (padded) size.
Sorry, something went wrong.
|
Personally, I would also have optimised the strcmp() calls into single character comparisons to make it clear to the C compiler that that's almost always enough for taking the decision, but that'd be an optimisation with yet-to-be-measured benefit, not a fix. Definitely not something that comes with a deadline. |
Sorry, something went wrong.
|
Thanks for merging my change @encukou :-) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Replace "const char *typecode;" with "char typecode[3];" to make the arraydescr structure smaller and avoids an indirection.