Finally! File parsing will get faster in Coldfusion, as Ben Forta informs us via his blog.
For starters, if you have ever had to work with large text files in ColdFusion (maybe parsing a large CSV file) you'll know that doing so is very inefficient. ...This is slow for two reasons. Not only does ColdFusion read the entire file into memory in a variable all at once, but also looping through the file requires treating it as a list which involves lots of parsing which can also be resource intensive. ...[The new code will] open the file, reads one line at a time, and closes it when done.Sweet! This will make many of my pages sooo much faster.

Post a comment