Difference in compilation flags #509
Replies: 3 comments
-
I am generally not a fan of |
Beta Was this translation helpful? Give feedback.
-
From a project/maintainer perspective, we will not enforce uniformity concerning compiler flags, compilers, execution environments, etc. We acknowledge that they are relevant, but consider their selection and parameterization part of the solutions(' codebases) that are collected in this repo. That said, this is a collaborative project, so if the contributors for a particular language decide to standardize on these points between themselves, then it is of course perfectly okay to open (a) PR(s) to effectuate this. I'm going to convert this issue to a discussion of type Idea, so it can be discussed further, if desired. |
Beta Was this translation helpful? Give feedback.
-
I've now tested whether |
Beta Was this translation helpful? Give feedback.
-
Whilst looking through the project, I noticed that different programs are built with different flags.
whilst PrimeCPP/solution_1 uses
-Ofast
, PrimeCPP/solution_4 uses-O3
The difference in compilation flags does affect the performance of a program.
Ideally, each program should be built with the same flags (where appropriate of course)
Regards
Beta Was this translation helpful? Give feedback.
All reactions