Infinoid++ have been working on the io_rewiring branch and are at a point where we would like to get some extra testing. Not only do we need testing to prove that the branch isn't broken and stupid, but we also want verification that the work in this branch does represent an actual performance improvement. Infinoid has done one test that suggests a 4x speedup for IO-intensive programs, which would be very nice indeed.
What the branch does, most basically, is to optimize for the common cases of built-in IO PMC types: FileHandle and StringHandle mostly. If a different type of PMC is passed to an IO routine, it falls back to a PCCINVOKE on a method to handle the operation. So, in the case where we use built-in PMC types and direct subclasses of them, things should be faster. Otherwise, performance should stay the same as it was. While there is more work to do in the IO system, this branch is stable and I think is suitable for merging as-is, pending testing. Speciflcally I would like to hear if Rakudo and Partcl work well on this branch, and if they experience any performance improvements, however small. Thanks, --Andrew Whitworth _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
