Software /
code /
prosody
Comparison
util-src/net.c @ 11698:9a2a98621c73
net.server_epoll: Optimize concatenation of exactly 2 buffer chunks
Saves a function call. I forget if I measured this kind of thing but
IIRC infix concatenation is faster than a function call up to some
number of items, but let's stop at 2 here.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Jul 2021 15:40:08 +0200 (2021-07-16) |
parent | 10921:6eb5d2bb11af |
child | 12575:1f6f05a98fcd |
comparison
equal
deleted
inserted
replaced
11697:6c3d8aa3bbd9 | 11698:9a2a98621c73 |
---|