Skip to content
Snippets Groups Projects
Commit cfe7507a authored by Antoine Lambert's avatar Antoine Lambert
Browse files

loader, cvsclient: Read files line by line to reduce memory consumption

Instead of using the readlines method on file objects that retrieve all
lines of a file and store them in memory, prefer to read files line
by line by using the lazy generator of lines from file objects.

This significantly reduce loader memory consumption when processing
a large rlog output stored in a file.
parent 965c3de4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment