Skip to content

Question: How to erase subtree #622

Description

@kimwalisch

Hi,

Thanks for your awesome library! I use it in my primecount project.

I would like to erase a subelement/subtree, e.g. in the example below I would like to erase ["S2_hard"]["thread1"]. Note that "thread1" may also exist in other subtrees e.g. ["S2_easy"]["thread1"] which should not be erased.

{
    "S2_hard": {
        "low": 16007169,
        "percent": 6.32297670017418,
        "s2_hard": "41872228438534",
        "seconds": 1.66252099978738,
        "segment_size": 131072,
        "segments": 24,
        "thread0": {
            "low": 9715713,
            "segment_size": 131072,
            "segments": 24
        },
        "thread1": {
            "low": 12861441,
            "segment_size": 131072,
            "segments": 24
        },
        "x": "100000000000000000",
        "y": 10990372,
        "z": 9098873086
    }
}

How can I achieve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions