Permalink
Switch branches/tags
Commits on Apr 28, 2017
  1. misc

    tomtom committed Apr 28, 2017
Commits on Mar 10, 2017
  1. docs

    tomtom committed Mar 10, 2017
Commits on Dec 2, 2016
Commits on Nov 30, 2016
  1. Improve performance of tmru#Leave with lots of buffers

    blueyed committed Nov 30, 2016
    Given a lot of buffers (379), and `let g:tmruSize = 2000` quitting Vim
    takes more than 4 seconds.
    
    This patch generates the list of filenames only once, and uses `index()`
    instead of a custom loop in `s:tmruobj_prototype.Find`.
    
    Before:
    
    FUNCTIONS SORTED ON TOTAL TIME
    count  total (s)   self (s)  function
        1   3.963834   0.043509  tmru#Leave()
      380   3.851486   3.843960  19()
     2000   0.067058             <SNR>211_SetSessions()
       15   0.026044   0.000761  <SNR>54_record()
       15   0.025283             <SNR>54_addtomrufs()
      380   0.007526             <SNR>119_NormalizeFilename()
        1   0.007486             <SNR>86_persist()
        …
    
    FUNCTIONS SORTED ON SELF TIME
    count  total (s)   self (s)  function
      380   3.851486   3.843960  19()
     2000              0.067058  <SNR>211_SetSessions()
        1   3.963834   0.043509  tmru#Leave()
       15              0.025283  <SNR>54_addtomrufs()
      380              0.007526  <SNR>119_NormalizeFilename()
        1              0.007486  <SNR>86_persist()
        …
    
    After:
    
    FUNCTIONS SORTED ON TOTAL TIME
    count  total (s)   self (s)  function
        1   0.134069   0.038920  tmru#Leave()
     2000   0.066134             <SNR>211_SetSessions()
      379   0.027213   0.020314  19()
       15   0.021082   0.000685  <SNR>54_record()
       15   0.020398             <SNR>54_addtomrufs()
        …
    
    FUNCTIONS SORTED ON SELF TIME
    count  total (s)   self (s)  function
     2000              0.066134  <SNR>211_SetSessions()
        1   0.134069   0.038920  tmru#Leave()
       15              0.020398  <SNR>54_addtomrufs()
      379   0.027213   0.020314  19()
      379              0.006899  <SNR>119_NormalizeFilename()
        1              0.005769  <SNR>86_persist()
        …
Commits on Mar 6, 2016
  1. docs

    tomtom committed Mar 6, 2016
  2. docs

    tomtom committed Mar 6, 2016
Commits on Dec 29, 2015
  1. docs

    tomtom committed Dec 29, 2015
Commits on Oct 23, 2015
Commits on Jul 29, 2015
Commits on May 20, 2015
Commits on Dec 16, 2014
Commits on Dec 14, 2014
  1. docs

    tomtom committed Dec 14, 2014
Commits on Dec 10, 2014
  1. Do not ignore &suffixes by default, but &wildignore

    blueyed committed Dec 10, 2014
    The Vim help for 'suffixes' says:
    > Files with these suffixes get a lower priority when multiple files
    > match a wildcard.
    
    They shouldn't be ignored, e.g. '.h' is included in there by default:
    
    > .bak,~,.o,.h,.info,.swp,.obj
    
    The default for 'wildignore' is empty.
    
    This adds some of the old defaults:
    
    > ~, .o, .swp and .obj (anchored at the end)
Commits on Nov 14, 2014
  1. FIX #44: fix menu use (s:Edit -> tmru#Edit); fix session loading; fi…

    tomtom committed Nov 14, 2014
    …rst save the mru list, then build the menu
Commits on Sep 18, 2014
  1. misc

    tomtom committed Sep 18, 2014
Commits on Jul 18, 2014
  1. docs

    tomtom committed Jul 18, 2014
Commits on Jul 17, 2014
  1. FIX #41: save mru list less often (experimental; removal of MruSort;…

    tomtom committed Jul 17, 2014
    … cleanup; g:tmru_eager_save)
Commits on Jul 10, 2014
  1. docs

    tomtom committed Jul 10, 2014
  2. docs

    tomtom committed Jul 10, 2014
  3. version

    tomtom committed Jul 10, 2014
Commits on Jul 7, 2014
  1. Always enable save on exit

    tomtom committed Jul 7, 2014
Commits on Mar 7, 2014
Commits on Feb 5, 2014
  1. misc

    tomtom committed Feb 5, 2014