[latex3-commits] [latex3/latex3] main: Mumble (a1a48690e)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Nov 1 18:41:47 CET 2023


On 01/11/2023 17:41, Frank Mittelbach wrote:
> Am 01.11.23 um 18:10 schrieb Joseph Wright:
>>
>> We had \tl_set:Nn here, but as pointed out in the linked issue, this 
>> is a bit poor as it's a clist. Here, we don't really want to have to 
>> do clist processing as #1 is already a clist we've pushed onto the 
>> input stack. So I decided to go with \__kernel... But i forgot that 
>> there is no \__kernel_tl_set:Nn, only \__kernel_tl_set:Ne. Doing
>>
>>       \__kernel_tl_set:Ne \l_@@_unused_clist { \exp_not:n {#1} }
>>
>> is what \tl_set:Nn does but without any checking, so it's no worse 
>> than the older code and in a checking context will be faster.
> 
> but wouldn't be actually better to add \__kernel_tl_set:Nn ?
> 
> the above looks rather strange and it slows down processing as you forst 
> do some "e" and then have to stop it again
> 
> and I could imagine that we have some other places where we want to do 
> this  (ie avoid the checking)

    \__kernel_tl_set:Ne = \edef ...

Joseph


More information about the latex3-commits mailing list.