Aug-08-2022, 04:59 AM
to all who reply using grep(linux), is that really faster?
so I must use that subprocess.run(grep thing)?
for PowerShell, I tried it, when the data is loaded to RAM, the RAM data is 30x of the original data,
if my data is 100mb, the data loaded to ram is 3gb, and it takes ages to do some "replace"
that is why I am using python, I don't know, but the "OPEN" data file size is relatively same as RAM data size
I can show you the PowerShell code, but I am afraid I will get some punishment if I put PowerShell question in python forum
so I must use that subprocess.run(grep thing)?
for PowerShell, I tried it, when the data is loaded to RAM, the RAM data is 30x of the original data,
if my data is 100mb, the data loaded to ram is 3gb, and it takes ages to do some "replace"
that is why I am using python, I don't know, but the "OPEN" data file size is relatively same as RAM data size
I can show you the PowerShell code, but I am afraid I will get some punishment if I put PowerShell question in python forum