Flaskerizer icon indicating copy to clipboard operation
Flaskerizer copied to clipboard

code optimization needed for parse links and other methods.

Open brettvanderwerff opened this issue 6 years ago • 2 comments

I tried to optimize some of the program by implementing multiprocessing with the parse_links method, but on some templates the program still takes several minutes to run. Any work on code optimization is very welcome. If there are any more places to implement paralellization we can try that too, but I am sure there are some easy code fixes that I missed when writing flaskerizer that could help speed up the program without resorting to fancier techniques. Like maybe the use of more efficient data structures or eliminating uneeded steps, that sort of thing.

brettvanderwerff avatar Sep 16 '18 00:09 brettvanderwerff

@brettvanderwerff I would like to work on this one as I have made changes to parse_links in past and I would like to try using break statements after conditions so that for loop dosen't run for too long.

bovem avatar Oct 02 '18 14:10 bovem

@avnish98 Sounds great it's all yours!

brettvanderwerff avatar Oct 02 '18 16:10 brettvanderwerff