77540: reduce default mMaxTextRun from 8192 to 8191, to greatly improve page load performance. r=harish, sr=blizzard

git-svn-id: svn://10.0.0.236/trunk@93144 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shaver%mozilla.org
2001-04-26 14:37:31 +00:00
parent 2b60efe5b7
commit f54bc44c8c

View File

@@ -2393,7 +2393,9 @@ HTMLContentSink::Init(nsIDocument* aDoc,
prefs->GetIntPref("content.notify.interval", &mNotificationInterval);
}
mMaxTextRun = 8192;
// Changed from 8192 to greatly improve page loading performance on large
// pages. See bugzilla bug 77540.
mMaxTextRun = 8191;
if (prefs) {
prefs->GetIntPref("content.maxtextrun", &mMaxTextRun);
}