On 07/06/2013 10:59 AM, Björn Steinbrink wrote:
> On 2013.07.06 17:52:00 +0200, Björn Steinbrink wrote:
>> Hi,
>>
>> On 2013.07.06 10:37:49 -0500, Tommy M. McGuire wrote:
>>> Previous runs took approximately 6 seconds, but the 0.7 build is 1)
>>> taking about 35 seconds and 2) very variable, since rebuilding it and
>>> sometimes just running it several more times results in smaller run
>>> times of ~22 seconds. Further, inserting some println's to look at what
>>> was taking so long reduced the run time to about 9 seconds.
>>>
>>> It is not limited to that particular program; other versions seem to be
>>> affected as well, including anagrams-hashmap-mmap, which was just
>>> recently run with a post-incoming-change build of the master branch. (5
>>> seconds vs. 11 seconds.)
>>
>> I can't seem to reproduce that (with a build of the current master).
>> Maybe I'm doing something wrong?
> 
> I obviously did. Using the "results" target from the Makefile, I can see
> the problem.


Sorry about making it difficult. I've added my anadict.txt to the
repository (along with making sure all of the programs use it).

Mine is created from /usr/share/dict/words, the wamerican package,
Ubuntu 12.04, and has 58505 lines. It produces 111 results on
"wachsames" and 7440 on "asdwtribnowplfglewhqagnbe".



-- 
Tommy M. McGuire
[email protected]
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to