mohayu22 opened a new pull request, #888: URL: https://github.com/apache/age/pull/888
`create_empty_agtype` can be classified as a pure function since it does not modify the database, but simply creates an empty agtype. To avoid repeated calls inside the loop, `create_empty_agtype` was declared outside the loop and its output was assigned to the `props` variable which is then used inside the loop. This approach ensures that the function is only called once and improves the efficiency of the code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
