link.h: Added link to ring buffer description on wikipedia.
app.lua: Added small benchmark to selftest.