is it a bad idea to load into memory 160000 variables in a php script?
- by user1397417
im processing a large file with sentences, i only care about the lines that have english or japanese, so while im reading the file, if i find english or japanese sentence, i want to just save it in an array and after finished reading, open another file for writting and output all the sentences in the array. this would result in me setting about 160,000 variables. all strings, some short some long. just wondering if its a bad idea to for memeory to set so many values?
example line from the file:
"1978033 jpn ?????????????????????"