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

This commit is contained in:
shaver%mozilla.org 2001-04-26 14:37:31 +00:00
parent bb77d03e2e
commit 0329a20c36

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);
}