8000 Lazy parsing · Issue #1597 · tact-lang/tact · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Lazy parsing #1597
Open
Open
Idea
@verytactical

Description

@verytactical

Split from #154

@Gusarich: We probably need to introduce a lazy struct parsing mechanism into Tact so that all the fields are parsed the moment they're accessed for the first time. Another approach is to analyze struct field accesses in each receiver to only parse the fields that are used and skip everything else.
But I'm not sure exactly how it should be implemented and what we should do with Struct.fromCell(). Maybe we should only use this "lazy loading" for merkle proof and merkle update cells?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature: receiversProcess internal, external, bounced incoming messageskind: gas!Gas consumption and fee-related thingsscope: codegenCode generation, a.k.a. compiler backend (src/generator)

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0