Was just taking a deeper look at XVector and wondered whether the concept of an XVector being a single-range view of a Shared* object (essentially an R vector wrapped in an externalptr to avoid copying?) could be applied to iteration, where we could slide that range to represent each partition, for example, without copying or creating new objects. Obviously, XVector would need the same treatment as Rle to make it generally useful. But it would be neat to do a bpaggregate without making new data.frames each iteration. Thoughts?
Michael [[alternative HTML version deleted]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel