From: Eric Wong Date: Fri, 17 Apr 2020 09:28:49 +0000 (+0000) Subject: searchthread: reduce indirection by removing container X-Git-Tag: v1.5.0~75 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d0147582e289fdd4cdd84e91d8b0f8ae9c230124;hp=d0147582e289fdd4cdd84e91d8b0f8ae9c230124;p=public-inbox.git searchthread: reduce indirection by removing container We can rid ourselves of a layer of indirection by subclassing PublicInbox::Smsg instead of using a container object to hold each $smsg. Furthermore, the `{id}' vs. `{mid}' field name confusion is eliminated. This reduces the size of the $rootset passed to walk_thread by around 15%, that is over 50K memory when rendering a /$INBOX/ landing page. ---