summaryrefslogtreecommitdiff
path: root/demos/primes.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-10-22 05:03:46 +0200
committertege <tege@gmplib.org>2001-10-22 05:03:46 +0200
commit693725835c924fb42c864cef75f5ab345d8c77b3 (patch)
tree5e13d47bf31da046bb864c1746b74a02c03df843 /demos/primes.c
parentd90e68a36a1a930a6dd8caed729deb1227e3714c (diff)
downloadgmp-693725835c924fb42c864cef75f5ab345d8c77b3.tar.gz
Add comment.
Diffstat (limited to 'demos/primes.c')
-rw-r--r--demos/primes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/primes.c b/demos/primes.c
index 79b584f5d..08996f515 100644
--- a/demos/primes.c
+++ b/demos/primes.c
@@ -47,6 +47,8 @@ Place - Suite 330, Boston, MA 02111-1307, USA. */
allow either to be omitted for open interval. (But disallow
"primes -c -f FROM" since that would be infinity.) Allow printing a
limited *number* of primes using syntax like "primes -f FROM -n NUMBER".
+ * When looking for maxgaps, we should not perform any primality testing until
+ we find possible record gaps. Should speed up the searches tremendously.
*/
#include "gmp.h"