Code Monkey home page Code Monkey logo

Comments (4)

zero10 avatar zero10 commented on July 17, 2024

The problem looks to be this line in OnionToolConfig.cs. Line 15:
var hashes_per_win = _regex.GenerateAllPatternsForRegex().Select(t=>Math.Pow(2,5*t.Count(q=>q!='.') - 1)).Sum();

I don't think it should end in a Sum(). Having more possibilities should increase the chances of finding a solution, no? Also it is mentioned in the readme that regex matching for multiple solutions is not typically much slower than a single solution.

from scallion.

richardklafter avatar richardklafter commented on July 17, 2024

@zero10 I would agree that looks like an issue. test2 should take about twice as long as test[23]. @zero10 If you want to take a shot at fixing it I will review. If not I will take a look at it when I am back in the US.

from scallion.

zero10 avatar zero10 commented on July 17, 2024

@richardklafter I was reviewing this further and now feel my issue is separate from the one raised by @agustinx19 in this issue. I will open a new one for the bug I would like addressed.

EDIT:
I have opened a new issue for my problem, #65

I have submitted pull request #66 to correct this issue

from scallion.

freethenation avatar freethenation commented on July 17, 2024

Pull request #66 was merged the issue should be fixed if you build from source.

from scallion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.