jcs
/wallops
/amendments
/strnatcmp.h
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.
Amendments on September 6, 2022
jcs made amendment
32
over 2 years ago
1