vector.data()
instead of &vector[0]
to get access to the
underlying array.
Fixes #3850.
cache.sqlite3
instead of ddnet-cache.sqlite3
and serverlist_urls.cfg
. I remember fixing this, so I should take a look where the commit got lost.[2021-05-27 18:16:23][serverbrowse_http]: determined best master, url='https://master1.ddnet.tw/ddnet/15/servers.json' time=41ms
[2021-05-27 18:16:23][serverbrowse_http]: found master, url='https://master2.ddnet.tw/ddnet/15/servers.json' time=1593ms
engine/shared/serverinfo.cpp:L143
couldn't you use an std::tie
here to make this prettier?std::tie
minimum
CVoteOptionServer
. I used a default parameter so everything should be (wastefully) aligned at the very least.
Maybe in the long term we can look to get rid of usages of memheap. Should be careful to not replace it with just malloc though since in many uses of the memheap we have it would cause a lot of fragmentation leading to (ithink) cache misses and wouldn't play along well with prefetch.
!matrix approve
or !matrix deny
in the next 5 minutes.serverlist_urls.cfg
β ddnet-serverlist-urls.cfg
,
change filename cache.sqlite3
β ddnet-cache.sqlite3
, add const
to
a variable and change pings to just before multiples of 100.
Fixes #3853.
Also remove unused parts of the new serverinfo.