Update linux baton to minimize allocations around run

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service Arch 2019-03-11
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The linux baton allocates vectors for the session iterators, as well as the pollfd's, for each call to run. Those are unlikely to change dramatically over the course of a baton's life, so saving them on the object and re-using that memory across calls saves on allocations

            Assignee:
            Mira Carey
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: