Menu

#5 Darkbot Stats Feature

none
open
nobody
None
normal
2014-03-09
2007-03-16
Jared Smith
No

When the darkbot is in a very active channel the stats part of the bot seems to lag and slow down the bot's performance. The code needs revamped.

Discussion

  • onefang

    onefang - 2014-02-24
    • Milestone: --> none
    • Priority: 9 --> normal
     
  • onefang

    onefang - 2014-03-09

    For each add_stats() call, there's a linear search through a single linked list, followed by a save of the stats file. A binary search, or perhaps a tree of some sort would be better, and perhaps deferring the file save until a timer tick or something?

     

Log in to post a comment.

MongoDB Logo MongoDB