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

Reduce memory allocations by using the nodeMap #56

Merged
merged 2 commits into from
Feb 13, 2021

Conversation

kunaltyagi
Copy link
Contributor

  • Add an accesor in Pipeline for the underlying node map
  • Use the nodeMap acccessor, use early return to reduce indent

@themarpe
Copy link
Collaborator

Thanks for the PR @kunaltyagi
Looks good - merging.

@themarpe themarpe merged commit 008e255 into luxonis:gen2_develop Feb 13, 2021
@kunaltyagi kunaltyagi deleted the reduce.mem_alloc branch February 13, 2021 13:45
@Luxonis-Brandon
Copy link
Contributor

(And yes I second Martin's comments - thanks @kunaltyagi - much appreciated!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants