Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

Use zerogc for allocation #2

@Techcable

Description

@Techcable

This will allow python code to access the generated AST, hopefully obseleting the CPython 'ast' module. Note that I've made a few changes from the CPython AST that would complicate this integration (we would have to add some sort of wrapper objects).

It will also allow the parser and bytecode compiler to use garbage collected collections like hashmaps, which would otherwise need to be allocated with malloc.

Hopefully this will also reduce memory usage of the parser and maybe even increase speed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions