summaryrefslogtreecommitdiff
path: root/examples/example-glib.c
diff options
context:
space:
mode:
authorAnton Tiurin <atiurin@twitter.com>2021-01-03 18:01:44 +0000
committerMichael Grunder <michael.grunder@gmail.com>2022-09-01 12:37:30 -0700
commitca4a0e850b9978104980ce980997f7a351376994 (patch)
treeac454813be5432e5903d8d87117d6fe027cab41d /examples/example-glib.c
parent35d398c903021f9d6827c06e1b9c799b6dad4d07 (diff)
uvadapter: reduce number of uv_poll_start calls
Internally uv_poll_start iterates over all attached event handlers to update event mask. It's quite expensive operation if there many event handlers attached to a loop. As redisLibuvEvents.events is a copy of what libuv should see, we can rely on it to avoid event mask updates. Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
Diffstat (limited to 'examples/example-glib.c')
0 files changed, 0 insertions, 0 deletions