Skip to content
  • rswindell's avatar
    5ea5ca05
    Fixed problem observed on Vertrauen (Win32), but possibly nowhere else: · 5ea5ca05
    rswindell authored
    When using the SBBSCTRL:User->List menu option, it would take minutes for the
    form to fully populate and display (1457 users). It turned out this was due to
    a 200ms delay for each open of the data/user.dat file.
    
    I never noticed this problem before, but I went ahead and optimized for this
    situation since it was a bit silly to be opening
    and closing the user.dat almost 1500 times to get a list of users. This made a
    huge difference and the user list appears in about 4 seconds now.
    
    Oddly, this problem does not happen when listing users in the terminal server
    or when iterating through them in JavaSciprt (e.g. userlist.js).
    5ea5ca05
    Fixed problem observed on Vertrauen (Win32), but possibly nowhere else:
    rswindell authored
    When using the SBBSCTRL:User->List menu option, it would take minutes for the
    form to fully populate and display (1457 users). It turned out this was due to
    a 200ms delay for each open of the data/user.dat file.
    
    I never noticed this problem before, but I went ahead and optimized for this
    situation since it was a bit silly to be opening
    and closing the user.dat almost 1500 times to get a list of users. This made a
    huge difference and the user list appears in about 4 seconds now.
    
    Oddly, this problem does not happen when listing users in the terminal server
    or when iterating through them in JavaSciprt (e.g. userlist.js).
Loading