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 Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
We're intending to take advantage of the fact that the upcoming releases of the iOS and Android SDKs are semver-major versions in order to introduce expressions as a complete replacement for the prior stop-based function functionality, and remove the stop-based APIs entirely. (Existing styles which use stop functions will be transparently converted to equivalent expressions when loaded.)
We should review the iOS and Android SDK APIs now that expressions have landed, and confirm that all stop-based function APIs have been removed.
As a second confirmation that we haven't left any lingering APIs which we'd be unable to remove until the next semver-major release, we should make the relevant core code private. This will allow us to refactor the core code at our leisure. (Among other things, such core refactoring may allow us to decrease the binary size.)
In core, the stringify functions for *Function need to replace stringification of the stops with serialization (from #11156) of the expression. (This should be fine; for *Function I believe stringify is needed only for groupByLayout.)
The whole Function class hierarchy still exists in the Android SDK. @tobrun is the plan to remove this?
changed the title [-]Confirm that SDK APIs don't have any leftovers from stop-based functions[/-][+]Remove leftovers from stop-based functions[/+]on Mar 14, 2018
This is currently looking like the number one thing we could do to reduce binary size. If we can remove all the *Stops templates and convert JSON directly to expressions, it will probably produce a substantial size savings.
Activity
jfirebaugh commentedon Feb 19, 2018
I pushed release-boba...11247 to test this out.
In core, the
stringifyfunctions for*Functionneed to replace stringification of the stops with serialization (from #11156) of the expression. (This should be fine; for*FunctionI believestringifyis needed only forgroupByLayout.)The whole
Functionclass hierarchy still exists in the Android SDK. @tobrun is the plan to remove this?tobrun commentedon Feb 20, 2018
Yes, going to tackle this with accessors in #10721, syncing with Ivo on this today.
[-]Confirm that SDK APIs don't have any leftovers from stop-based functions[/-][+]Remove leftovers from stop-based functions[/+]jfirebaugh commentedon Mar 14, 2018
I updated release-boba...11247 showing that we can now do this cleanup at our leisure; i.e. on
mastersometime afterrelease-bobais merged back.jfirebaugh commentedon Mar 23, 2018
#11509 wound up removing the
stopsmember, but there's still significant cleanup work we could do here.jfirebaugh commentedon Jun 27, 2018
This is currently looking like the number one thing we could do to reduce binary size. If we can remove all the
*Stopstemplates and convert JSON directly to expressions, it will probably produce a substantial size savings.