• Tor Lillqvist's avatar
    Don't waste time in macxp_resolveAlias() on files inside the app bundle · 3b6905e3
    Tor Lillqvist yazdı
    LibreOffice uses its low-level API to look up files inside the app
    bundle thousands of times, all the time, and especially when starting
    something. Both when the process starts, and when a specific aspects
    of the application starts (like after typing a first character into a
    Writer document in a session). Having all those, too, go through this
    alias (bookmark) resolve dance is just insane. There won't be any
    aliases (bookmarks) there.
    
    This shaves almost a second from the delay after typing the first
    character into a Writer document in a session. There is still a
    noticeable delay left, though, likely mostly caused by Python
    (Lightproof) initialisation slowness. (It's cross-platform.)
    
    I would say that it is a bit questionable whether the
    macxp_resolveAlias() functionality is worth it at all, even.
    
    Change-Id: I2461141c6b58738befd0db4902eb25e63b788b79
    3b6905e3
system.mm 22 Bytes