Skip to content

Commit

Permalink
Be more precise in predicate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hurufu committed Jul 18, 2024
1 parent 471ccca commit c399d46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benches/reif.pl
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
).


%% exptrue(?N).
%% exptrue(N).
%
% Succeeds 10^N times, usefull as a cheap way to repeat a given predicate many
% times in benchmarks. There are many more ways to generate choice points, but
% this one by far has the lowest overhead.
% Succeeds 10^N times if N is ground, usefull as a cheap way to repeat a given
% predicate many times in benchmarks. There are many more ways to generate
% choice points, but this one by far has the lowest overhead.
exptrue(0).
exptrue(1) :- ten.
exptrue(2) :- ten, ten.
Expand Down

0 comments on commit c399d46

Please sign in to comment.