The iPhone filesystem will be a flash memory and the memory is RAM. I think they will be different in speed but I don't know if really and how much. Writing to RAM will be faster because writing to a Flash needs to write a whole block instead of only some bytes.