#cpp
Find all Lexicographic Permutations of a String
https://www.techiedelight.com/find-lexicographic-permutations-string/
Find all Lexicographic Permutations of a String
https://www.techiedelight.com/find-lexicographic-permutations-string/
Techie Delight
Find all lexicographic permutations of a string | Techie Delight
In this post, we will see how to find all lexicographic permutations of a string where the repetition of characters is allowed.
#cpp
Choosing the Right STL Container: General Rules of Thumb
https://embeddedartistry.com/blog/2017/8/23/choosing-the-right-stl-container-general-rules-of-thumb?format=amp
Choosing the Right STL Container: General Rules of Thumb
https://embeddedartistry.com/blog/2017/8/23/choosing-the-right-stl-container-general-rules-of-thumb?format=amp
#cpp
Performance comparison: linear search vs binary search.
https://dirtyhandscoding.wordpress.com/2017/08/25/performance-comparison-linear-search-vs-binary-search/
Performance comparison: linear search vs binary search.
https://dirtyhandscoding.wordpress.com/2017/08/25/performance-comparison-linear-search-vs-binary-search/
Dirty hands coding
Performance comparison: linear search vs binary search.
While working on an implementation of merge sort promised in the previous article, I realized that I’d like to use one neat little thing, which is worth its own post. It is a simple strategy …
Forwarded from Silicon Network
#cpp
"No C++, just plain C” – not for app-level programming!
https://ithare.com/c-performance-common-wisdoms-and-common-wisdoms/
"No C++, just plain C” – not for app-level programming!
https://ithare.com/c-performance-common-wisdoms-and-common-wisdoms/
IT Hare on Soft.ware
C++ Performance: Common Wisdoms and Common “Wisdoms”
Chapter XIII(b), "C++ Performance: Common Wisdoms and 'Common Wisdoms'" from upcoming book "D&D of MOG"
#c #cpp
Comparing C and C++ usage and performance with a real world project
https://nibblestew.blogspot.it/2017/09/comparing-c-and-c-usage-and-performance.html?m=1
Comparing C and C++ usage and performance with a real world project
https://nibblestew.blogspot.it/2017/09/comparing-c-and-c-usage-and-performance.html?m=1
Blogspot
Comparing C and C++ usage and performance with a real world project
The relative performance of C and C++ is the stuff of folk legends and Very Strong Opinions. There are microbenchmarks that can prove differ...
Forwarded from The Daily C++
Vote the channel: https://telegram.me/tchannelsbot?start=dailycpp
You can send me Repo/Guide/tutorial/project about cpp to: @DailyCppBot (no spam)
You can send me Repo/Guide/tutorial/project about cpp to: @DailyCppBot (no spam)
Telegram
Telegram Channels Bot
Discover the best channels 📢 available on Telegram. Explore charts, rate ⭐️ and enjoy updates! TChannels.me
Forwarded from Deleted Account
I have developed a C++ Library of Data Structures and Algorithms
Please visit
https://github.com/moghya/dsalglib
Please visit
https://github.com/moghya/dsalglib
GitHub
GitHub - moghya/dsalglib: This is improved and stable version of dsalib ready to use C++ data structures and algorithms template…
This is improved and stable version of dsalib ready to use C++ data structures and algorithms template library - GitHub - moghya/dsalglib: This is improved and stable version of dsalib ready to use...
Forwarded from Deleted Account
Documentation of dsalglib is here at
https://moghya.me/dsalglib/index.html
https://moghya.me/dsalglib/index.html
#cpp
C++ : Check if a String starts with an another given String
https://thispointer.com/c-check-if-a-string-starts-with-an-another-given-string/
C++ : Check if a String starts with an another given String
https://thispointer.com/c-check-if-a-string-starts-with-an-another-given-string/
cppwinrt.exe in the Windows SDK
https://moderncpp.com/2017/11/15/cppwinrt-exe-in-the-windows-sdk/amp/
https://moderncpp.com/2017/11/15/cppwinrt-exe-in-the-windows-sdk/amp/
Parsing C++ in Python with Clang
https://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang
https://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang
LLVM & Clang evolve rapidly and the C++ API is not stable. This means that code that links against LLVM & Clang as libraries in version X may very well not compile or work in version X+1.
Therefore, this repository has branches that track LLVM versions.
https://github.com/eliben/llvm-clang-samples
GitHub
GitHub - eliben/llvm-clang-samples: UNMAINTAINED: Examples of using the LLVM and Clang compilation libraries and tools
UNMAINTAINED: Examples of using the LLVM and Clang compilation libraries and tools - eliben/llvm-clang-samples
#clang #lint #clang_tidy
clang-tidy is a clang-based C++ “linter” tool. Its purpose is to provide an extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis. clang-tidy is modular and provides a convenient interface for writing new checks.
https://clang.llvm.org/extra/clang-tidy/index.html
clang-tidy is a clang-based C++ “linter” tool. Its purpose is to provide an extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis. clang-tidy is modular and provides a convenient interface for writing new checks.
https://clang.llvm.org/extra/clang-tidy/index.html
Fast exact integer divisions using floating-point operations
#Division #float
https://lemire.me/blog/2017/11/16/fast-exact-integer-divisions-using-floating-point-operations/
#Division #float
https://lemire.me/blog/2017/11/16/fast-exact-integer-divisions-using-floating-point-operations/
the C++ Standards Committee added operator <=> to the working draft for what will eventually become C++20
#improvement
https://medium.com/@barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec
#improvement
https://medium.com/@barryrevzin/implementing-the-spaceship-operator-for-optional-4de89fc6d5ec
Medium
Implementing the spaceship operator for optional
Last week, the C++ Standards Committee added operator<=>, known as the spaceship operator, to the working draft for what will eventually…
Small Vector Optimization
#Optimize #Vector #Memory
https://stoyannk.wordpress.com/2017/11/18/small-vector-optimization/
#Optimize #Vector #Memory
https://stoyannk.wordpress.com/2017/11/18/small-vector-optimization/
Prog stuff
Small vector optimization
One of the key performance optimization techniques involves reducing the number of dynamic memory allocation that a program does. The reasons are: Generic memory allocations are relatively slow Hea…
Tutorial and examples for std::array
#STL #array #tutorial
https://thispointer.com/c11-stdarray-tutorial-and-examples/
#STL #array #tutorial
https://thispointer.com/c11-stdarray-tutorial-and-examples/
One of the notable advantages of using std::array is that you can use range based for loop for it