3 ms·
You won't be able to use this if your file doesn't fit in RAM. This unnecessarily clones the file into a list instead of returning a generator and leaving the l
by BugsJustFindMe 6y ago
You won't be able to use this if your file doesn't fit in RAM. This unnecessarily clones the file into a list instead of returning a generator and leaving the list conversion up to the user.
- pytlicek 6y agoThanks for pointing this out. I'll definitely look into it.