• src/syncterm/bbslist.c bb

    From Deuc¿@VERT to Git commit to main/sbbs/m on Saturday, September 27, 2025 19:20:00
    https://gitlab.synchro.net/main/sbbs/-/commit/f0af0e45033423949fe55fc3
    Modified Files:
    src/syncterm/bbslist.c bbslist.h syncterm.c
    Log Message:
    Use the new ini*Parsed*() interface to speed up dialing directory

    When using many online lists for a total of thousands of entries,
    the INI file interface is notiably slow (up to two seconds in my
    tests). With the new interface, this is down as low as 0.25 seconds.

    Still noticable, not not nearly as irritating.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Monday, September 29, 2025 21:15:00
    https://gitlab.synchro.net/main/sbbs/-/commit/8bba45f815cb3f12c92ba7ad
    Modified Files:
    src/syncterm/bbslist.c bbslist.h syncterm.c src/xpdev/ini_file.c ini_file.h
    Log Message:
    New INI pre-parser written for fast.

    Minimal allocations, don't recalculate things if possible, uses
    bsearch(), and qsort(), works with SyncTERM... not used by scfg.

    It would be pretty trivial to add a function to get the section
    list in file order too, which I'll likely do right away.

    Over ten times faster with 2000 entries.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Wednesday, October 08, 2025 06:49:00
    https://gitlab.synchro.net/main/sbbs/-/commit/7b86dd189c44b46fda61c067
    Modified Files:
    src/syncterm/bbslist.c bbslist.h syncterm.c
    Log Message:
    Fix list corruption with encrypted lists

    Reading/writing the list to update the call count did terrible things.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net