Speed up timeline scrolling by only going up to 150 characters with summary calculation.

This commit is contained in:
Brent Simmons 2019-05-13 22:06:03 -07:00
parent 5abe73331a
commit 7c78d914be
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ struct TimelineStringFormatter {
return cachedBody
}
var s = body.rsparser_stringByDecodingHTMLEntities()
s = s.rs_string(byStrippingHTML: 300)
s = s.rs_string(byStrippingHTML: 150)
s = s.rs_stringByTrimmingWhitespace()
s = s.rs_stringWithCollapsedWhitespace()
if s == "Comments" { // Hacker News.