in reply to Splitting large module
I would guess the slowdown simply happens because of the increased disk IO due to opening and reading 85 files instead of a single file.
How large in absolute terms is the performance difference? If it really is large, maybe you need to choose a different disk layout to make loading the files faster? If your script is just running as a short-lived process, maybe you can change that to a longer-lived process by passing in more work to process in one go?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Splitting large module
by Anonymous Monk on Jul 11, 2018 at 17:13 UTC | |
by Corion (Patriarch) on Jul 11, 2018 at 17:45 UTC |