Menu

#499 Improve BZFSNetLogCB efficiency by caching memory allocation

Evaluate
open
nobody
BZFS (98)
7
2011-07-30
2009-11-12
No

This patch improves the efficiency of the BZFSNetLogCB class.

Specifically, the network log callback was doing a malloc() and free() every time it needed to send out a network event through the worldEventManager. Instead of continuously calling malloc()/free(), this patch caches the allocation for reuse and increases its size as necessary.

Discussion

  • Russell Bryant

    Russell Bryant - 2009-11-12
     
  • Jeff Myers

    Jeff Myers - 2011-07-30
    • milestone: --> Evaluate
    • priority: 5 --> 7
     

Log in to post a comment.