Skip to content

Pass typed data between isolates using transferrables.Β #29480

Open
@ilyaklyaus

Description

@ilyaklyaus

In our project we have to decode maps from strings which size is pretty big (up to 20mb) and JSON.decode is slow in this case. Passing such strings to isolate to decode and get it back is even slower because the data is copied.
Could you please consider the way to use transferrables to pass data between isolates. Something like that: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers#Passing_data_by_transferring_ownership_(transferable_objects)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.core-llibrary-isolatetype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions