A bug was introduced in the BTree while working on
SES-776. BTree iterators no longer deregistered themselves with the root node upon closing, causing the list of listeners for this node to grow indefinately. An assertion checked for presence of listeners with List.contains(...), which caused the performance degradation. But even with assertion disabled, this is a serious issue for long running or intensively used native stores.