You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
based on the above, my interpretation of the non-interactive default rules post ADR006 are:
If the message length is > k, then it must start on a new row.
If the message length is <= k, then it must begin at a location aligned with the largest power of 2 that is <= the message length.
@rootulp yeah, but to clarify I do think we should keep it to a single rule if possible, but perhaps that's just an opinion
Messages must begin at a location aligned with the largest power of 2 that is not larger than the message length or k.
I've re-read this statement several times and find it really difficult to grok:
Messages must begin at a location aligned with the largest power of 2 that is not larger than the message length or k.
I think it may help readability if we articulate the scenarios as multiple statements. When written as one statement, the reader has to apply the rule to multiple scenarios (what happens when a message spans multiple rows? what happens when a message spans multiple rows only if placed after a message that occupies N shares at the beginning of the row? etc.)
I'm not strictly opposed to the one statement or strictly in favor of the two statements above but I find the previous and proposed non-interactive default rules really difficult to grok so would appreciate if we made them really explicit.
Context
ADR 006 simplified the non-interactive default rules so the specs currently describe an outdated iteration of the non-interactive default rules.
Proposal
specs-staging
branchThe text was updated successfully, but these errors were encountered: