performance gain on waltz test more than 30% after removing calls to doall