View Single Post
Old 11-06-2013, 07:15 AM   #616
AcidWeb
KCC Co-Author
AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.
 
AcidWeb's Avatar
 
Posts: 435
Karma: 258422
Join Date: Mar 2013
Location: Poland
Device: Kindle Paperwhite, Kindle Keyboard
There is a very high execution time difference between extracting M7 and KF8 part.

Creating MOBI7 from 373MB MOBI file (KindleGen output) take 2.34200000763 sec.
Creating MOBI8 from this same file take 103.877000093 sec.

Entire time difference is caused by insertsectionrange function. Extractly by lines:
Code:
datalst.append(secdata)
datalst.append(datain[secstart:])
in insertsection function.

Anybody have idea how to optimize that?

Last edited by AcidWeb; 11-06-2013 at 04:12 PM.
AcidWeb is offline   Reply With Quote