#!Src/zsh
#!Src/zsh-nodup-before
#!Src/zsh-nodup

zmodload zsh/zprof

strtest() {
    repeat 60000; do
        a[10]="a"
    done
}

a="exampletext"
repeat 12 a+="$a"

strtest

zprof | head -n 25

echo "Resulting length: ${#a}"
