You are the reading the whole file into memory, high chances, you are not going to consume the file in one go, but rather byte by byte. So it is waste of memory in most cases
🤔🤔 That’s what I’ve been doing all along Mind sharing a more efficient technique?
oh I thought you meant a more memory efficient way to store the strings :p which technically a char * would be, but very minimally.
streams? pipes?
@hellozee Never used pipes😅 Can you give me an example syntax?
Обсуждают сегодня