-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output pages in parallel #107
Comments
Unfortunately, DVI is a linear format, i.e. several commands that describe or annotate the content of a page may affect preceding and following pages as well. Thus, it's necessary to process the pages sequentially or to scan the entire file in advance. dvisvgm does the latter. I don't see much room for speed optimizations here. |
I just looked at this again today and it seems that these loops need to be parallelized: Lines 139 to 143 in c2a8942
Lines 178 to 179 in c2a8942
|
dvisvgm is pretty slow compared to regular TeX page output. Since it is written in C++11 it could make use of cross-platform multithreading. Would it be possible to output pages in parallel?
The text was updated successfully, but these errors were encountered: