RhysU / tuna

Tuna: A Chunk-based Lightweight AutoTuna
Mozilla Public License 2.0
1 stars 0 forks source link

Provide registration and iteration over tuna_sites #5

Open RhysU opened 11 years ago

RhysU commented 11 years ago

Provide a method that registers a static tuna_site/tuna_chunk k[N] combo in a manner that permits iterating over their current results via callback. As an example callback, implement code for outputting the current statistics for every registered site. Use this in the examples to unify output and suggest it as an atexit(3) call for applications employing Tuna.

RhysU commented 10 years ago

The output procedure mentioned as an example iteration could use the new functionality added in #12.

RhysU commented 10 years ago

21af5e565dc2dba9f8e922757937ef4453c9f042 and 5444fb8ef8f9e3f42fa783ffccb7887d8094bc35 have started leaning in this direction.

RhysU commented 10 years ago

Some handy example code at http://www.dailyfreecode.com/code/insert-delete-node-binary-search-tree-2843.aspx.