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 Sep 16, 2024. It is now read-only.
Am I right that after we loaded Rust library in an Android app, we can:
call methods from it multiple times without re-loading the library
expect state be persisted between calls?
Because the same index should be re-usable in different aggregated indexes and also the app can request the same aggregated index again several times, would be unnecessary to re-construct them all the time.
It's necessary to initialize compound indexes, store them somewhere in library process, allow to re-use them, allow to use them as normal indexes. Aggregated indexes must provide interface as close to "plain" index interface as possible. Aggregated indexes should use plain indexes as shards delegating operations to them (execute some operation on all shards, if any succeeded return its result).
https://github.com/ARK-Builders/ARK-Navigator/blob/1d6cfa9a15d95a2ca1d7628042142f972931393f/app/src/main/java/space/taran/arknavigator/mvp/model/repo/index/AggregatedResourcesIndex.kt
Am I right that after we loaded Rust library in an Android app, we can:
Because the same index should be re-usable in different aggregated indexes and also the app can request the same aggregated index again several times, would be unnecessary to re-construct them all the time.