core-lightning/gossipd
Rusty Russell b6494c1994 gossipd: use simple inline array for nodes with few channels.
Allocating a htable is overkill for most nodes; we can fit 11 pointers
in the same space (10, since we use 1 to indicate we're using an array).

MCP results from 5 runs, min-max(mean +/- stddev):
	store_load_msec:45947-47016(46683.4+/-4e+02)
	vsz_kb:2639240
	store_rewrite_sec:46.950000-49.830000(48.048+/-0.95)
	listnodes_sec:1.090000-1.350000(1.196+/-0.095)
	listchannels_sec:48.960000-57.640000(53.358+/-2.8)
	routing_sec:29.990000-33.880000(31.088+/-1.4)
	peer_write_all_sec:49.360000-53.210000(51.338+/-1.4)

MCP notable changes from previous patch (>1 stddev):
-	vsz_kb:2641316
+	vsz_kb:2639240

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-09 12:37:16 -07:00
..
test gossipd: use iterator helpers for iterating node channels. 2019-04-09 12:37:16 -07:00
broadcast.c gossipd: wire up memleak detection. 2018-11-22 05:15:42 +00:00
broadcast.h gossipd: wire up memleak detection. 2018-11-22 05:15:42 +00:00
gossip_constants.h gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 2018-11-21 00:36:31 +00:00
gossip_peerd_wire.csv daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
gossip_store.c gossipd: use iterator helpers for iterating node channels. 2019-04-09 12:37:16 -07:00
gossip_store.csv daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
gossip_store.h dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 2019-04-08 04:41:43 +00:00
gossip_wire.csv dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 2019-04-08 04:41:43 +00:00
gossipd.c gossipd: use iterator helpers for iterating node channels. 2019-04-09 12:37:16 -07:00
Makefile common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
routing.c gossipd: use simple inline array for nodes with few channels. 2019-04-09 12:37:16 -07:00
routing.h gossipd: use simple inline array for nodes with few channels. 2019-04-09 12:37:16 -07:00