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

 
 

You are not allowed to post comments on this tracker with your current authentification 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: DocumentationPriority: 5 - Normal
Item Group: WishlistStatus: Fixed
Privacy: PublicAssigned to: Miguel de Benito <mdbenito>
Originator Name: Open/Closed: Closed
Release: svn r6236Release: None
Fixed Release: NoneFixed 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
  • -unavailable- added by mdbenito (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to 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
    Thu 07 Feb 2013 01:58:37 AM UTCmdbenitoStatusNone=>Fixed
      Assigned toNone=>mdbenito
      Open/ClosedOpen=>Closed
      Release=>svn r6236

    Back to the top


    Powered by Savane 3.1-cleanup