Results 1 to 40 of 186

Thread: VB6: Best way to find all permutations of a given string in a file - Contest

Threaded View

  1. #11
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: VB6: Best way to find all permutations of a given string in a file - Contest

    Well, I wouldn't say... I'm running at 120 ms and this is a single core laptop. However I don't output anything.

    randem: Do we have to know what is the found permutation for output? I can output the position, but due to optimization I don't know the combination itself unless I make things more complicated. Couldn't we just output the positions?

    Also, how about harddisk caching? The file is small enough to remain in cache for a short while, which means that the first time you run a code you get ~60 ms slower results and the next run coming shortly after is faster as the data comes from cache.
    Last edited by Merri; Jun 2nd, 2007 at 12:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width