What is inefficient is if you have a script that loops through a file with $read and does multiple times disk access, because for each $read, it has to open/read/close the file.
Question: does that count for $readini too? Somewhere I read that when using $readini the complete ini file is loaded into memory and consecutive reads take place from there. Is that true?