sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 1775b85a40373220fc5bee2360d953b88d26c46b
parent 3fda5b1034ebff7eb00cb43f665cc4e1bfd263e9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  1 Feb 2016 23:57:43 +0100

sfeed_tail: tune memory consumption down a bit, tested with a file with 10,000,000 lines (50MB)

Diffstat:
Msfeed_tail.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_tail.c b/sfeed_tail.c @@ -20,7 +20,7 @@ struct line { }; /* ofcourse: bigger bucket size uses more memory, but has less collisions. */ -#define BUCKET_SIZE 65535 +#define BUCKET_SIZE 16384 struct bucket { struct line cols[BUCKET_SIZE]; };