Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: 6-pws-2



> 3) store compiled patterns in the execution tree (for now I'm only
>    thinking about `case', `[[ .. = .. ]]' and `[[ .. != .. ]]' if the
>    patterns don't need to be singsub()ed, which could be checked at
>    parse time)
>


Yes, that is what I was thinking about, too. Patterns and parameter expansions.
Both are parsed every time the code is executed. If we could do it only once, it
should gain us some speed.

/andrej



Messages sorted by: Reverse Date, Date, Thread, Author