I've implemented some very basic docset support on my local machine.

The main problem I've encountered is a significant startup slowdown when
there are huge docsets in the books directory. For example, the Java_SE7
docset has about 50,000 tokens which are loaded into memory by the
DevHelp on startup. The startup time with Java docset enabled is about
15 seconds on my laptop with a Core i7 CPU and an SSD disk. The search
is still quite fast. As I can see, it's not so easy to avoid this
problem at the moment. Zeal, for example, uses the sqlite database
directly to not load all the symbols into memory.

I still can improve my first draft a little bit and prepare a pull
request in a few days. But a more efficient approach is obviously
required.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to devhelp in Ubuntu.
https://bugs.launchpad.net/bugs/1242467

Title:
  Support docsets

Status in “devhelp” package in Ubuntu:
  New

Bug description:
  Dash and Zeal use a documentation file format called "docset" and
  these 2 apps already support quite a few documentations. It would be
  really great if devhelp could support docsets and therefore expand
  it's documentation listings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devhelp/+bug/1242467/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to