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.

Submitted by:  Miguel de Benito <mdbenito>
Submitted on:  Wed 15 Aug 2012 05:36:37 PM UTC  
 
Category:  Documentation Priority:  5 - Normal
Item Group:  Wishlist Status:  Fixed
Privacy:  Public Assigned to:  Miguel de Benito <mdbenito>
Originator Name:  Open/Closed:  Closed
Release:  svn r6236 Release:  None
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    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.3