Search found 313 matches

by Provoni
Oct 16, 2018 7:08
Forum: General
Topic: The possible fallacy of faster PRNGs
Replies: 11
Views: 374

Re: The possible fallacy of faster PRNGs

IMHO it is not a mistake to ask for the bare loop speed. It was, I think that Infinity is not a random number generator. But somewhere I saw a post where Infinity was listed and was followed by something along the lines of "Courtesy of ... labs" and got confused. So Infinity is the bare l...
by Provoni
Oct 16, 2018 7:04
Forum: General
Topic: The possible fallacy of faster PRNGs
Replies: 11
Views: 374

Re: The possible fallacy of faster PRNGs

Yes, I understood the point of your post. However, what the above does show is that looking for a faster generator for some applications will be a waste of time. That is common sense and faster PRNG is used by people who need faster PRNG. Is Infinity a random number generator or what you call the sa...
by Provoni
Oct 16, 2018 5:24
Forum: General
Topic: The possible fallacy of faster PRNGs
Replies: 11
Views: 374

Re: The possible fallacy of faster PRNGs

What is the Infinity concept?
by Provoni
Oct 15, 2018 18:59
Forum: General
Topic: Fast random integers
Replies: 49
Views: 1885

Re: Fast random integers

Suppose you select a random number from the range 0 to 10 Do this 20000000 and keep the counts in an array(0 to 10) array(0), array(1) ... should all be the same. Of course they are not in practice. Here are some observations about the array() from randomize 1 to randomize 4 (randomize 5 is too slo...
by Provoni
Oct 15, 2018 6:25
Forum: General
Topic: Fast random integers
Replies: 49
Views: 1885

Re: Fast random integers

Suppose that you have a stream of random numbers (0,1,1,1,0,1,0,0,..). If the numbers are really random then the next number in the stream can be predicted with no more or less than 50% accuracy on average. So with that idea in mind I wrote a really fancy predictor that learns over time on a stream ...
by Provoni
Oct 13, 2018 11:21
Forum: General
Topic: Fast random integers
Replies: 49
Views: 1885

Fast random integers

Original method by me. Try this when you need a very fast random integer generator. Quite customizable too. Updated 'Provoni's FRI (Fast Random Integers) 10172018 '--------------------------------------------- '- Fast and unpredictable random integer generator '- Preferably without the overhead of t...
by Provoni
Oct 13, 2018 8:27
Forum: General
Topic: The possible fallacy of faster PRNGs
Replies: 11
Views: 374

Re: The possible fallacy of faster PRNGs

@deltarho[1859],

I see your point. Can you include the bare loop speed with this table?

Code: Select all

Num Recipes  1309.51
PCG32II      1383.29
Knuth64      1384.69
Infinity     1385.15
Loop         ????.??
by Provoni
Oct 12, 2018 5:14
Forum: General
Topic: GCC FDO
Replies: 5
Views: 344

Re: GCC FDO

fxm wrote:? :
-Wc -fprofile-generate
see Compiler Option: -Wc

Yes, -Wc -fprofile-generate.
by Provoni
Oct 11, 2018 16:45
Forum: General
Topic: GCC FDO
Replies: 5
Views: 344

Re: GCC FDO

MrSwiss wrote:Do you have the profiler (gprof) installed?

Not sure what you mean with installed but gprof.exe is in the win64 bin directory.
by Provoni
Oct 11, 2018 13:10
Forum: General
Topic: GCC FDO
Replies: 5
Views: 344

GCC FDO

How does one get the feedback-directed optimization (FDO) flags to work with FreeBASIC programs? The flags are: -fprofile-generate -fprofile-use The flag -fprofile-generate should be used first but it throws a bunch of errors: Program2.o:fake:(.text+0x15): undefined reference to `__gcov_indirect_cal...
by Provoni
Oct 08, 2018 12:54
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)
Replies: 516
Views: 60625

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated October 6, 2018)

deltarho[1859] wrote:@Provoni

'#Resource "'<filename.rc>"

@PaulSquires

The Build Listbox is misbehaving - it closes immediately on releasing the left mouse button. As a workaround, I am changing the default build to enable me to make a change.

Tyvm!
by Provoni
Oct 07, 2018 8:05
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)
Replies: 516
Views: 60625

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated October 6, 2018)

How does one add an icon to a program?

With FbEdit I include a .rc file but this does not seem to work with WinFBE?
by Provoni
Oct 01, 2018 6:54
Forum: Windows
Topic: gcc 5.2 vs gcc 8.1
Replies: 64
Views: 4375

Re: gcc 5.2 vs gcc 8.1

deltarho[1859] wrote:Am I missing something?

Loop unrolling, higher optimization level?
by Provoni
Sep 30, 2018 6:25
Forum: Windows
Topic: gcc 5.2 vs gcc 8.1
Replies: 64
Views: 4375

Re: gcc 5.2 vs gcc 8.1

I am currently comparing the two and the results are a bit odd. Using 64-bit and "-s gui -gen GCC -O max -Wc -march=native,-funroll-loops,-ffast-math" with a fully multi-threaded 40.000+ lines program on a dual CPU workstation with 40 threads: 8.1 is only faster than 5.2 when all or nearly...

Go to advanced search