Просмотр исходного кода

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

George Baugh 4 месяцев назад
Родитель
Сommit
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(