• src/sbbs3/ctrl/UserListFormUnit.cpp

    From rswindell@VERT to CVS commit on Mon Dec 7 01:27:09 2015
    Subject: src/sbbs3/ctrl/UserListFormUnit.cpp
    @MSGID: <566550ED.32503.syncprog@vert.synchro.net>
    @TZ: 41e0
    src/sbbs3/ctrl UserListFormUnit.cpp 1.8 1.9
    Update of /cvsroot/sbbs/src/sbbs3/ctrl
    In directory cvs:/tmp/cvs-serv12725

    Modified Files:
    UserListFormUnit.cpp
    Log Message:
    Fixed problem observed on Vertrauen (Win32), but possibly nowhere else:
    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).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wed Nov 16 01:07:07 2016
    src/sbbs3/ctrl UserListFormUnit.cpp 1.9 1.10
    Update of /cvsroot/sbbs/src/sbbs3/ctrl
    In directory cvs:/tmp/cvs-serv29869

    Modified Files:
    UserListFormUnit.cpp
    Log Message:
    Create fgetuserdat() (the 'f' stands for 'fast' or 'file) -
    it just calls the (newer) functions readuserdat() and parseuserdat() in a easy replacement for getuserdat() for places where all users are read in a loop
    (the file is only opened one time, dramatically reducing the amount of time). Added an argument to openuserdat() so it can be used in more situations
    (i.e. where the file needs to be opened for modify/create acces).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Jan 21 00:34:04 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/03e5f113e40e4f27ad4d60e1
    Modified Files:
    src/sbbs3/ctrl/UserListFormUnit.cpp
    Log Message:
    Ah, I missed one more user_t.modem -> connection change
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net