vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21143: LJSUP-11195: performance optimization

Committer: vad
LJSUP-11195: performance optimization
U   trunk/cgi-bin/ljlib.pl
Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2012-02-08 21:02:50 UTC (rev 21142)
+++ trunk/cgi-bin/ljlib.pl	2012-02-08 21:23:07 UTC (rev 21143)
@@ -1374,8 +1374,10 @@
             $last_time = $li->{alldatepart};
     
             # construct an LJ::Entry singleton
-            my $entry = LJ::Entry->new($userid, jitemid => $li->{itemid}, rlogtime => $li->{rlogtime});
-            $entry->absorb_row($li);
+            my $entry = LJ::Entry->new($userid, 
+                                        jitemid  => $li->{itemid}, 
+                                        rlogtime => $li->{rlogtime},
+                                        row      => $li);
             push @{$opts->{'entry_objects'}}, $entry;
         }
     };

Tags: livejournal, pl, vad, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments