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
{{ message }}
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
Should implementations or hosts be allowed to observably round up maxByteLength? #23
Should implementations be allowed to observably round maxByteLength for e.g. rounding up to page size multiples? I.e., should the following be allowed?
Pro: Simpler implementation for those that want to do rounding, so they don't have to track a 3rd length field internally.
Con: Higher chances of non-interoperability due to differences in rounding modes between engines, exposing engine details. (Can be worked around by prescribing a specific rounding algorithm, but then defeats the flexibility that engines should like to have.)
Activity
codehag commentedon Jan 27, 2021
cc @lars-t-hansen and @jandem
bmeck commentedon Jan 27, 2021
syg commentedon Jan 27, 2021
@bmeck That's a good example, but I think that's a better counter-argument to #24. I separated the question about the max length vs the length.
Allow implementations to round up max byte lengths
Allow implementations to round up max byte lengths (#25)
syg commentedon Feb 23, 2021
Closed in favor of allowing it.