Differences From
Artifact [e4691ec838]:
9 9 if co.aid ~= 0 and co.who.id == actor.id then
10 10 ti:compose('my profile')
11 11 else
12 12 ti:compose('profile :: ', actor.handle)
13 13 end
14 14 var tiptr = ti:finalize()
15 15
16 - var acc: lib.str.acc acc:init(1024)
17 - var pftxt = lib.render.profile(co,actor,relationship) defer pftxt:free()
16 + var acc: lib.str.acc acc:pool(&co.srv.pool, 1024)
17 + var pftxt = lib.render.profile(co,actor,relationship) --defer pftxt:free()
18 18 acc:ppush(pftxt)
19 19
20 20 var stoptime = lib.osclock.time(nil)
21 21 var posts = co.srv:post_enum_author_uid(actor.id, lib.store.range {
22 22 mode = 1; -- T->I
23 23 from_time = stoptime;
24 24 to_idx = 64;
................................................................................
39 39 co:livepage([lib.srv.convo.page] {
40 40 title = tiptr; body = bdf;
41 41 class = lib.str.plit 'profile';
42 42 cache = false;
43 43 }, newest)
44 44
45 45 tiptr:free()
46 - bdf:free()
46 + --bdf:free()
47 47 end
48 48
49 49 return render_userpage