parsav  Diff

Differences From Artifact [ab5808172b]:

To Artifact [7375f87c90]:


    22     22   			from_time = stoptime;
    23     23   			to_idx = 64;
    24     24   		})
    25     25   	elseif mode == modes.fediglobal then
    26     26   	elseif mode == modes.circle then
    27     27   	end
    28     28   
    29         -	var acc: lib.str.acc acc:init(1024)
           29  +	var acc: lib.str.acc acc:pool(&co.srv.pool,1024)
    30     30   	acc:lpush('<div id="tl" data-live="10">')
    31     31   	var newest: lib.store.timepoint = 0
    32     32   	for i = 0, posts.sz do
    33     33   		lib.render.tweet(co, posts(i).ptr, &acc)
    34     34   		var t = lib.math.biggest(lib.math.biggest(posts(i).ptr.posted, posts(i).ptr.discovered),posts(i).ptr.edited)
    35     35   		if t > newest then newest = t end
    36     36   		posts(i):free()
................................................................................
    41     41   	var doc = [lib.srv.convo.page] {
    42     42   		title = lib.str.plit'timeline';
    43     43   		body = acc:finalize();
    44     44   		class = lib.str.plit'timeline';
    45     45   		cache = false;
    46     46   	}
    47     47   	co:livepage(doc,newest)
    48         -	doc.body:free()
           48  +	--doc.body:free()
    49     49   end
    50     50   return render_timeline