1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/test-server
Edwin van der Oetelaar 5e59bf15e1 optimize extpoll fd delete
Previous method of shifting back array by one to cover the deleted
item could be expensive when the list was large and the deleted item
appeared early in it.

This scheme swaps the last guy into the vacant space and reduces the
list size by one.

(AG adapted for style and not to care if n is end guy)

Signed-off-by: Edwin van der Oetelaar <oetelaar.automatisering@gmail.com>
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-01-15 15:50:28 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
Makefile.am Added test.html favicon.ico to EXTRA_DIST. 2012-10-17 20:26:44 +08:00
test-client.c add longlived option to test client 2013-01-15 15:43:17 +08:00
test-fraggle.c logging extend level set api to allow setting emission function 2013-01-12 09:17:42 +08:00
test-ping.c logging extend level set api to allow setting emission function 2013-01-12 09:17:42 +08:00
test-server-extpoll.c optimize extpoll fd delete 2013-01-15 15:50:28 +08:00
test-server.c logging ensure everyone has a newline 2013-01-15 15:41:15 +08:00
test.html Use feature check rather than browser check. 2013-01-09 15:39:50 +08:00