View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015031||Scribus||Import / Export||public||2017-10-26 08:16||2017-10-26 08:16|
|Summary||0015031: Parallel export via OpenMP|
|Description||Export into separate files is in the category of emarassingly parallelizable.|
E.g. for ExportBitmap::exportInterval, It would be enough, provided that read-only document access is multithread-safe, to compile with -fopenmp, add "#pragma parallel for" in front of the loop in exportInterval, and trivially adjust the progress bar (so that it increases based on global counter, not page number).
PDF export would be more complicated due to synchronization of access to global PDF dictionary, though one-page-per-file is trivial to parallelize just like bitmap export.
|Tags||No tags attached.|