[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: |
Fri, 8 Mar 2024 21:48:55 +0100 |
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
>