[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can \n sep be optimized , vs ; sep
From: |
alex xmb sw ratchev |
Subject: |
Re: can \n sep be optimized , vs ; sep |
Date: |
Sun, 10 Mar 2024 15:18:23 +0100 |
and there was a typo in the awk
On Fri, Mar 8, 2024, 21:48 alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:
> actually i cant guarantee the numbers
> may be wrong code etc
> i dunno
>
> On Fri, Mar 8, 2024, 12:09 alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:
>
>> i made small benchmark script
>> with 100k each arg , : true false
>> when cmd separator was \n , they all three ran at about 0.016 secs
>> when sep was ; , they ran stable 0.006 s
>>
>> so my q , can the \n level reach ; speeds
>>
>> attach is my script
>> cmdlines :
>>
>> bash xmb.bashbm.1 : true false
>>
>> sep=\; bash xmb.bashbm.1 : true false
>>
>> /xmb
>>
>