Performance enhancement: use bsearch algorithm in dingliste_t::add().
Performance enhancement: use switch() instead of if/else if chain.