Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 2 of 2 FirstFirst 12
Results 26 to 27 of 27

Thread: Dixons factorisation implementation issue

  1. #26
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,165
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: Dixons factorisation implementation issue

    help with is to try and minimise this timing lag.
    Sorry, I know nothing about the algorithm. I can only suggest ways to try to debug the code.
    You need to find a forum that deals with math algorithms. This one is for java programming.

    For example when I added some print statements I saw that res1 - res4 were never different. They were either always all false or all true.
    Is that expected?
    When I printed the value of x1 it was the same for hundreds of lines. When should it change?
    If you don't understand my answer, don't ignore it, ask a question.

  2. #27
    Junior Member
    Join Date
    Nov 2018
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Dixons factorisation implementation issue

    Not really an issue with the algorithm though its more the inefficiency of the for loop method.

    But if you cant help not to worry, thanks for looking into the issue anyways.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Implementation problem.
    By AlchemyDesign in forum Java Theory & Questions
    Replies: 7
    Last Post: September 15th, 2014, 06:11 PM
  2. stack implementation
    By mosarwa10 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 12th, 2013, 06:22 PM
  3. Vector implementation
    By poolman81 in forum Collections and Generics
    Replies: 11
    Last Post: June 3rd, 2012, 06:45 AM
  4. Java Issue / Cache issue
    By VisualPK in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 14th, 2012, 08:43 PM
  5. ArrayList implementation
    By meijuh in forum Collections and Generics
    Replies: 8
    Last Post: March 22nd, 2012, 01:03 PM

Tags for this Thread