]> Sergey Matveev's repositories - public-inbox.git/commit
overidx: favor non-OO sub dispatch for internal subs
authorEric Wong <e@yhbt.net>
Fri, 17 Jul 2020 06:31:53 +0000 (06:31 +0000)
committerEric Wong <e@yhbt.net>
Fri, 17 Jul 2020 20:56:52 +0000 (20:56 +0000)
commit406b9eb2906518fb8c3999f2a826eeae86fa3d30
treeb3ec1908b031d294aea228587a40053ef37c9eb0
parent16d5cf5c1d6698a8557662c8759a4453b3dcf976
overidx: favor non-OO sub dispatch for internal subs

OO method dispatch was 10-15% slower when I was implementing the
NNTP server.  It also serves as a helpful reminder to the reader
at the callsite as to whether a sub is likely in the same
package as the caller or not.
lib/PublicInbox/OverIdx.pm