On Sun, 30 Aug 2020, Markus Elfring wrote:

> > - T x@p;
> > + int len
> >   <...
> > - x
> > + len
> >   ...>
>
> How do you think about to use the following transformation variant?

This is uselessly expensive.  It is already known that there is at least
one occurrence of x.

julia

>
> -T x@p;
> +int len;
>  <+...
> -x
> +len
>  ...+>
>
>
> Regards,
> Markus
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to