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
updated polyscript dependency to its latest which brings in:
a new packages_cache = "passthrough" option, beside "never", to avoid lazy micropip initialization and parallelize Pyodide bootstrap when network connection is good and offline ability is not a concern. This should help speeding up bootstrap pyscript/polyscript#138
added a debug = True option in config to help debugging Pyodide pyscript/polyscript#135 - please note this degrades Pyodide performance
updated coincident orchestration to bring back the service-worker attribute without needing@pyscript/service-worker at all and tested in multiple devices, including iOS and iPad OS
updated also coincidentffi logic via a dedicated project able to improve performance a lot, specially with all the JS primitives where performance matters, including TypedArray of all kinds and ArrayBuffer
coincidentffi also has a smart cache feature that is able to make Pyodide bootstrap and performance nearly 1:1 with the main thread. Roundtrips can be cut off entirely for most JS primitives while DOM nodes or arrays from the main thread are not cached to preserve their constantly mutable state and preserve correctness.
coincidentffi also exposes some extra feature that is reflected through pyscript.ffi, specially direct(ref) to pass directly values instead of holding these on the main thread and assign to update many fields at once from a worker. Both utilities work seamlessly on either main or worker but on worker these will have a boost.