Merge changes from topic "sep23"

* changes:
  Improve performance of small CursorWindows.
  Benchmarks to measure CursorWindow overheads.