Originally Posted by
aesguitar
Alright, run it against an algorithm that you use, if you have one, and see which one is faster.
I have never implemented a factoring algorithm (at least not in the last ten years, and that's about as far back as my memory goes these days
). Why not find some algorithm implementation online somewhere, and run it against yours? I understand your desire to profile the algorithm, but I would point you to point stdunbar's post, which nicely sums up my thoughts on the subject.