performance improvements

based upon feed-dump benchmarks of BQueue
BQueue: add a few missing functions, INLINEs