浏览代码

add small note about future perf issues RE user_emails in Trog::Auth

George Baugh 4 月之前
父节点
当前提交
78f2eb9eef
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      lib/Trog/Auth.pm

+ 1 - 0
lib/Trog/Auth.pm

@@ -446,6 +446,7 @@ Return all users and their contact emails, for use in libravatar lookups.
 
 =cut
 
+#XXX it may be worth using the sqlite extension to do SHA hashing here to speed up lookups.
 sub users_with_emails {
     my $dbh = _dbh();
     my $rows = $dbh->selectall_arrayref(