-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec Text Size Reductions: Tracking Ticket #2793
Comments
@arshaw Most of the items from this list are now done. It's just the two remaining ones under "Other DRY-ness" left. "Unify code paths for YMD diffing" would currently not actually result in a spec text size reduction, because the calendar-dependent CalendarDateDifference is left as implementation-defined. Shrinking the size of the reference polyfill is quite low priority, since it's not used in production. So I'm inclined to just cross this one off the list. (Note, there is an issue open to specify CalendarDateDifference in the Intl Era and Month Codes proposal. We could revisit this in the future, if it becomes feasible to specify DifferenceISODate in terms of CalendarDateDifference.) "Options parsing for diffing rounding (roundingIncrement, roundingMode)" I'm not sure what to do with this one, but it sounds like you had a refactor in mind. Would you like to open a ticket for that with more details, and close this one? |
That's great news @ptomato. Looking at how to DRY-up |
This ticket tracks progress for all other tickets meant to reduce
the number of calls to user coderepeated sections of the spec text. These are/will be implemented as merely PROOFS OF CONCEPT at first. The original goal of this was to improve runtime performance and reduce user code calls. Now the goal is to make the code more DRY for decreased proposal size and file size of compiled code in implementations.Bugs
Tickets that BOTH require bugfixing AND will decrease # of user calls and reduce filesize when fixed:
Other DRY-ness
In addition to above, there are other ways to make the code more DRY:
maximumIncrements
/MAX_DIFFERENCE_INCREMENTS
The text was updated successfully, but these errors were encountered: