summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2022-02-18 17:16:22 +0100
committerdelthas <delthas@dille.cc>2022-02-18 17:16:22 +0100
commitbfc54b97b1ae0e5cc3b8032a0558dbc8079d5d52 (patch)
treea1c341837ab21c465cc3dea02681f5756f1491cc /irc
parentAdd support for the ALL_PROXY, NO_PROXY environment variables (diff)
Optimize URL parsing performance
According to a CPU profiling I meade, the regex applied on each incoming message took a substantial part of the CPU time. The slowdown it caused was noticable at startup. This optimizes the URL parsing by eliminating fast-path cases where no dot appears to avoid parsing the line with a regex in those cases.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions