From: Karl Williamson Date: Mon, 3 Dec 2012 01:48:33 +0000 (-0700) Subject: utf8.c: Combine 2 function calls into one X-Git-Tag: upstream/5.20.0~4557 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c46377d3226d15447819a5fa3518c660bce7679;p=platform%2Fupstream%2Fperl.git utf8.c: Combine 2 function calls into one There is a function that does both these together, more efficiently --- diff --git a/utf8.c b/utf8.c index 820fa82..418f0d8 100644 --- a/utf8.c +++ b/utf8.c @@ -4055,8 +4055,7 @@ Perl__swash_to_invlist(pTHX_ SV* const swash) _invlist_union(invlist, other, &invlist); break; case '!': - _invlist_invert(other); - _invlist_union(invlist, other, &invlist); + _invlist_union_maybe_complement_2nd(invlist, other, TRUE, &invlist); break; case '-': _invlist_subtract(invlist, other, &invlist);