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

optimize properties() when given type is known(predictable) #5374

Open
wey-gu opened this issue Mar 1, 2023 · 0 comments
Open

optimize properties() when given type is known(predictable) #5374

wey-gu opened this issue Mar 1, 2023 · 0 comments
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@wey-gu
Copy link
Contributor

wey-gu commented Mar 1, 2023

For properties(edge).foo, properties($$).bar, if the type of edge or $$(or else expression)'s type is already given explicitly/predictable, we could try to optimize it as edge_type_A.foo or tag_b.bar?

Thus to avoid user shooting their foot by using properties() in non-multiple-type prop fetching(much more expensive).

@wey-gu wey-gu added the type/enhancement Type: make the code neat or more efficient label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

1 participant