Howdy, Looking at our benchmarks, I didn't see anything that looked like it benchmarked string operations very much, so I whipped up a small PIR script to calculate the Hamming distance between two strings. It is mostly good for looking at the performance of String PMC -> string conversion, substr(), and function calls. The benchmark basically says that some serious speedup happened in 1.2.0 and that trunk is in the fast pack.
http://gist.github.com/250677 http://github.com/leto/parrot/blob/upstream/examples/benchmarks/hamming.pir Duke PS: If you have suggestions for improvements to the benchmarks, or other scripts that you have in mind, please let me know. -- Jonathan "Duke" Leto [email protected] http://leto.net _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
