I often read files into a single string and then loop through the file using PARSE to peel off pieces to work with. I recently converted the PARSE statement to use SUBSTR, and POS against the file being read into a mutable buffer. The processing was at least 2-3 times faster. It would be nice if I didn't have to replace one parse statement with many other statements. It would make the code as clean as it was with one PARSE statement if I could code something like:
PARSE MUTABLE mutable-buffer template
Maybe I wouldn't be able to use options like CASELESS or UPPER but I wouldn't need them anyway.
If the template ended with the name of the mutable-buffer, it would be as though the command "mutable-buffer~delete(1,parse-pointer)".