kSubtreeTextMaxChars top-level constant
int
const kSubtreeTextMaxChars
Longest subtree_text sent on the wire. Generous on purpose: the backend's
subtree rung is a token-bag containment over the TIGHTEST container, and
its owner-label pass reads the first six tokens, so a row or card is
never near this; only a tall list that is not quite page-level is cut,
at a token boundary so no partial token enters the backend's bag. A
space-free run (one giant token) is the exception: it is hard-cut at the
cap — never between the halves of a UTF-16 surrogate pair.
Implementation
const int kSubtreeTextMaxChars = 600;