Menu

#493 Patches from GSoC work

Incomplete
closed-accepted
Cezar
libbu (2)
5
2018-06-12
2018-06-01
Cezar
No

Here are some misc patches from my GSoC work.

Discussion

  • Cezar

    Cezar - 2018-06-01

    This one changes the initial size of a bu_ptbl from 64 to 16. Here are some benchmarks with this change applied.

    I've changed the blen check from <= 0 to == 0 because blen is size_t which is unsigned.

    And I removed the assignment to k from the subscript because k is not used anywhere afterwards.

     
  • Cezar

    Cezar - 2018-06-01

    This one fixes a typo where BU_LIST_INIT_ZER0 is used instead of BU_LIST_INIT_ZERO (zero spelled with the digit 0 instead of the letter o).

     
  • Cezar

    Cezar - 2018-06-01

    This one is mainly stylistic changes to the RB tree test. But I've also modified it to accept any number of argvs, since it does no harm if unused arguments are passed, and it can make other program simpler (e.g., if I'm calling multiple functions dynamically, and some do take arguments, I don't have to special case this one).

     
  • Cezar

    Cezar - 2018-06-12
    • status: open --> closed-accepted
    • assigned_to: Cliff Yapp --> Cezar
     
  • Cezar

    Cezar - 2018-06-12

    I applied these myself.

     

Log in to post a comment.