help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can \n sep be optimized , vs ; sep


From: alex xmb sw ratchev
Subject: can \n sep be optimized , vs ; sep
Date: Fri, 8 Mar 2024 12:09:57 +0100

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

Attachment: xmb.bashbm.1
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]