catalyst / moodle-tool_advancedreplace

GNU General Public License v3.0
2 stars 0 forks source link

Use file handles when searching large files #59 #87

Closed bwalkerl closed 1 month ago

bwalkerl commented 1 month ago

Closes #59, Closes #84

Local testing has been promising with a peak memory usage of around 140mb when searching a number of files up to 2gb. In my testing it did take slightly longer to grep large files (most likely from creating the temp files), but I didn't notice anything too concerning.