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