Sequences are now integrated into the kernel. Some things have been sped up and other things are just easier. Consider the following code taken from ContainerComponent:
def deleteAll {
val it = iterator
while (it.hasNext) {
val name = it.next
delete(name)
}
}
This could normally would not work, as the delete removes one of the items being iterated over. But iterator is implemented over a sequence rather than directly over the container, and it works just fine!
Next up: Enhance the container API to support b-trees. This needs to be done before Naji starts implementing KernelBTreeContainer and BTreeContainer.
Bill