Results 1 to 1 of 1

Thread: Contest 1 Prime Numbers - NoteMe

  1. #1

    Thread Starter
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Contest 1 Prime Numbers - NoteMe

    Well...hmmm....

    What I have optimized....

    • Using variables defined in the sub. They are faster then global variables.
    • The function doesn't test more number then it has to to get those 1000 first primes
    • Using CStr(i) to add them to the list box. It is faster.



    Well it isn't that much more too it....ohhh...and I am mashed...do I get credit for that...???


    <This Posts is by Me because there was a problem with the old one>
    Attached Files Attached Files
    Last edited by Electroman; Sep 28th, 2004 at 05:51 AM.

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