From b674461dd0378381b9ab6853f494633e1cd72cbb Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 4 Dec 2018 18:22:05 -0700 Subject: [PATCH] regcomp.c: Clarify comment --- regcomp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/regcomp.c b/regcomp.c index 9dac06c..aa97e9b 100644 --- a/regcomp.c +++ b/regcomp.c @@ -14280,8 +14280,10 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth) } /* Even when folding, we store just the input - * character, as we have an array that finds its fold - * quickly */ + * character. The bottom line reason to do this is + * because the fold for MICRO SIGN requires UTF-8. But + * there's no real performance penalty for not folding, + * as we have an array that finds any fold quickly. */ *(s++) = (char) ender; } } /* End of adding current character to the node */ -- 1.8.3.1