[NodeCanvas] Small memory allocation when changing the active subgraph

NodeCanvas Forums General Discussion [NodeCanvas] Small memory allocation when changing the active subgraph

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17088
    leanon00
    Participant

    Hello! Hope this can be fixed.

    I found a memory allocation when changing the active subgraph in a very common usage pattern
    this allocates memory because of the lambda variables scope capture.

    Attached the stack trace from a deep profiling in unity where it allocates 160 B for every sub tree change.

    Attachments:
    You must be logged in to view attached files.
    #17102
    Gavalakis
    Keymaster

    Hello!

    You are right. I plan to do another review of everything soon (something I typically do once in a while to refactor things), and will fix this 🙂

    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.