bugGNU TeXmacs - Bugs: bug #37111, Searching the docs is too slow.

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #37111: Searching the docs is too slow.

Submitter:  Miguel de Benito <mdbenito>
Submitted:  Wed 15 Aug 2012 05:36:37 PM UTC
   
 
Category:  Documentation Priority:  5 - Normal
Item Group:  Wishlist Status:  Fixed
Privacy:  Public Assigned to:  mdbenito
Originator Name:  Open/Closed:  Closed
Release:  None Release:  svn r6236
Fixed Release:  None Fixed Release: 
Keywords: 

Thu 07 Feb 2013 01:58:37 AM UTC, comment #1: 

Turns out all loading of files is done via load_string, which caches the files, but the traversal of the directory structure was getting forever. Having cached these results a few commits ago, searches after the first one are much faster now.

We might want to use persistent storage for the result of directory traversal, but this could be inconvenient while developing, because files added wouldn't get noticed until the persistent cache was updated...

Miguel de Benito <mdbenito>
Group Member
Wed 15 Aug 2012 05:36:37 PM UTC, original submission:  

Just that. If it's greping through the documentation, then is too slow. Easiest would be to simply load all of it into memory (currently about 7MB) and search there. If that's already what's being done, then some indices are needed.

Miguel de Benito <mdbenito>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mdbenito (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-07 mdbenito StatusNone Fixed
        Assigned toNone mdbenito
        Open/ClosedOpen Closed
        Release svn r6236

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code