Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optmize vertex and edge builder functions #1252

Merged
merged 1 commit into from
Oct 17, 2023

Commits on Oct 16, 2023

  1. Optmize vertex and edge builder functions

    Changes:
        - Added the agtype_raw module, which contains helper functions to
          build agtype directly without building an agtype_value first
        - Optimize _agtype_build_vertex and _agtype_build_edge functions
    
    The agtype_raw module:
        Inserting a composite agtype (i.e. object) into another agtype
        (i.e. as an array element) requires the first agtype to be deserialized
        into agtype_value. Then, the agtype_value to be serialized back into
        the second agtype.
    
        This module provides functions that can perform such insertion without
        deserializing first. It is meant to speed up queries that does
        deserialization-serialization back and forth involving deeply nested
        agtype objects.
    rafsun42 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    266771f View commit details
    Browse the repository at this point in the history