User Details
- User Since
- Apr 23 2013, 11:59 AM (517 w, 5 d)
Oct 4 2021
Oct 1 2021
Sep 30 2021
Aug 28 2020
Feb 28 2020
May 22 2019
May 8 2019
May 6 2019
As an example of code reduction.
Another option for the optimzation.
Apr 29 2019
Use inline to solve the problem instead of changing the implemetation.
Apr 24 2019
Apr 18 2019
Apr 17 2019
Apr 10 2019
Apr 3 2019
Mar 29 2019
Thanks for debugging that. I didn't realize it didn't try to inline on purpose.
Maybe we just need to mark the function as inline, even if we also have the extern template instantiation.
That way the compiler can inline it if it helps, but won't actually generate the weak symbol in the object files otherwise.
Eg, something like:
Maybe the generated code would be better if basic_string::compare was being inlined, but the compiler chose not to do it. char_traits::compare, on the other hand is much smaller and easier to inline.
Remove string file changes from this PR.
They were added by mistake.
- Make it easier for the compiler to optimize operator==(string,char*).
Mar 25 2019
Fix benchmark for rhs being empty.
Mar 21 2019
Mar 18 2019
Jan 29 2019
Dec 10 2018
Dec 7 2018
Dec 4 2018
It seems like the input/benchmark generation in algorithms.bench is not a good fit for binary search.
Also, please take a look: https://github.com/llvm-mirror/libcxx/blob/master/benchmarks/algorithms.bench.cpp#L45
I'm not sure if it matters, but seems like a weird idea to measure on 0...n - not very representative data.
I would also suggest rewriting it like:V.resize(N); std::iota(V.begin(), V.end());The last time I measured - much faster (and less code).
@sbenza wrote those benchmarks, there might be a reason why he used 0...n.
Dec 3 2018
Nov 20 2018
Nov 19 2018
Changed the sizes to be denser in the lower end.
Nov 13 2018
Nov 12 2018
Nov 9 2018
Nov 1 2018
Oct 30 2018
Oct 29 2018
Sorry for the break.
I submitted the fix.
Oct 23 2018
Oct 22 2018
Oct 12 2018
Oct 11 2018
#include changes. C++17 cleanup.
Oct 10 2018
Use TEST_ALWAYS_INLINE instead of attribute((always_inline))
Minor comment fix
Fix casing for some function names.
Jan 15 2018
minor fix
Jan 12 2018
Jan 8 2018
Jan 5 2018
May 30 2017
Do we want this change in the parser itself? or in clang-query?
clang-query could be helpful enough to add parens when it detect an ET_ParserNoCloseParen error, without changing the language here.
May 5 2017
Feb 22 2017
Feb 10 2017
Feb 7 2017
Jan 12 2017
Sep 26 2016
Sep 8 2016
Aug 10 2016
Jul 28 2016
Jul 25 2016
Jun 28 2016
Jun 21 2016
Jun 17 2016
Missing the .rst file.
Did you use the check_clang_tidy.py script to create the template?