Skip to content
  • rswindell's avatar
    Performance optimization: When performing sequential index or header reads, · 0e773f87
    rswindell authored
    the read buffer may be utilized more efficiently if you do *not* perform an
    (unnecessary) seek operation just before the read. By eliminating unnecessary
    seeks in smb_getmsgidx() and smb_getmsghdr(), I was able to reduce the time
    required to load 9000+ index and header records over a network (Samba/CIFS)
    share from 15+ seconds to less than 5.
    0e773f87