AmendHub

jcs

/

wallops

/

amendments

/

strnatcmp.c

Amendments on September 12, 2024

irc: Speed up nick sorting

strcasecmp is good enough and strnatcasecmp is slow. On joining a
channel with 750 nicks, this change (plus the open slot optimization)
cuts down sync time from 62 seconds to 33 seconds. Still slow, but
channels that large aren't that common.
Also fix an off-by-one in detecting line capacity, and when checking
TCPStatus, also check connectionState since it won't return an
error.
jcs made amendment 91 about 1 month ago

Amendments on September 6, 2022

strnatcmp: Add local copy

jcs made amendment 32 over 2 years ago