the bottleneck in conversion is CSS parsing. MOBI input files can sometimes generate a lot of CSS that has to later be parsed. Unfortunately, the only ready to use CSS parsing library I could find uses regexps to parse CSS and is really slow, it's time goes up exponentially with the size of the CSS.
|