I`m somehow new to programming. I have a question. Which algorithm has a better speed?
which one do you recommend?
function main() opening a file for loop <doing some stuf> writing something to file end loop closing file end of function main
function printer(What should be written) opening file writing in file closing file end function main() for loop <doing some stuf> printer(What should be written) end loop end of function main