Skip to content

imap: use ISALNUM() for alphanumeric checks - #9289

Closed
cvengler wants to merge 1 commit into
curl:masterfrom
cvengler:2022-08-imap-isalnum
Closed

cvengler wants to merge 1 commit into
curl:masterfrom
cvengler:2022-08-imap-isalnum

Conversation

@cvengler

Copy link
Copy Markdown

This commit replaces a self-made character check for alphanumeric
characters within imap_is_bchar() with the ISALNUM() macro, as it is
reduces the size of the code and makes the performance better, due to
ASCII arithmetic.

Closes #XXXX

This commit replaces a self-made character check for alphanumeric
characters within imap_is_bchar() with the ISALNUM() macro, as it is
reduces the size of the code and makes the performance better, due to
ASCII arithmetic.

Closes curl#9289
@cvengler
cvengler force-pushed the 2022-08-imap-isalnum branch from c71ecf9 to 9599e71 Compare August 10, 2022 07:38
@bagder

bagder commented Aug 10, 2022

Copy link
Copy Markdown
Member

Thanks!

@bagder bagder closed this in 34886a4 Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants