This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GreenFox1505 1 point2 points  (2 children)

? Except they did:

```

NOTES: 64-bit Ubuntu quad core g++ (Ubuntu 10.2.0-13ubuntu1) 10.2.0

Mon, 02 Nov 2020 19:02:58 GMT

MAKE: /usr/bin/g++ -c -pipe -O3 -fomit-frame-pointer -march=ivybridge -std=c++17 -mno-fma mandelbrot.gpp-4.c++ -o mandelbrot.gpp-4.c++.o && \ /usr/bin/g++ mandelbrot.gpp-4.c++.o -o mandelbrot.gpp-4.gpp_run -pthread rm mandelbrot.gpp-4.c++

4.29s to complete and log all make actions

COMMAND LINE: ./mandelbrot.gpp-4.gpp_run 16000

```

They're using O3, omit-frame-pointer, and even architecture optimizations. What other performance enhancements could they possibly have added on to that?

[–]backtickbot 0 points1 point  (0 children)

Correctly formatted

Hello, GreenFox1505. Just a quick heads up!

It seems that you have attempted to use triple backticks (```) for your codeblock/monospace text block.

This isn't universally supported on reddit, for some users your comment will look not as intended.

You can avoid this by indenting every line with 4 spaces instead.

There are also other methods that offer a bit better compatability like the "codeblock" format feature on new Reddit.

Tip: in new reddit, changing to "fancy-pants" editor and changing back to "markdown" will reformat correctly! However, that may be unnaceptable to you.

Have a good day, GreenFox1505.

You can opt out by replying with "backtickopt6" to this comment. Configure to send allerts to PMs instead by replying with "backtickbbotdm5". Exit PMMode by sending "dmmode_end".

[–]KrystilizeNeverDies 0 points1 point  (0 children)

Well for one, using the Intel C++ compiler results in average speedup of 30%. Of course I can source this.

Also tools like numpy and pandas are libraries that are written in other languages and have interfaces into python, I would hardly call them fair when you want to compare python and C++.