View Single Post
Old 07-11-2013, 11:38 PM   #180
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
In this case, I think they are storing to much data. The TOC rows in the content table fell like overkill. They are probably carried over from the older devices. The TOC can be read from the NCX file when the book is opened. They have a little more use for kepubs as when the book is opened the word count for each chapter is calculated and stored. Splitting the TOC entries off to another table would have cut the size by a lot. And it would improve performance for searches and the various lists as the main content table would be a lot smaller.
davidfor is offline