General Programming
|
Algorithms |
31 Aug 2015
Updated: 31 Aug 2015
Rating: 4.83/5
Votes: 32
Popularity: 7.21
Licence: CPOL
Views: 52,591
Bookmarked: 31
Downloaded: 440
Efficient Quicksort methods for sorting arrays with lots of duplicate elements
|
|
18 Sep 2022
Updated: 18 Sep 2022
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 5,661
Bookmarked: 4
Downloaded: 62
This article proposes a mapping algorithm, called Segmented Map, which is almost as fast as Flat Map is random access and enumeration of elements and close to std::map in insertion of elements.
|
Programming Languages
|
C++11 |
14 May 2012
Updated: 24 May 2013
Rating: 4.93/5
Votes: 20
Popularity: 6.41
Licence: CPOL
Views: 75,425
Bookmarked: 59
Downloaded: 756
This is an alternative for "Member Function Pointers and the Fastest Possible C++ Delegates"
|
|
8 Jul 2012
Updated: 11 Jul 2012
Rating: 5.00/5
Votes: 12
Popularity: 5.40
Licence: CPOL
Views: 73,518
Bookmarked: 24
Downloaded: 190
keywords: constexpr, constant, constant expression, user-defined literals, GCC 4.7.0
|
|
27 Aug 2012
Updated: 31 Aug 2012
Rating: 4.98/5
Votes: 30
Popularity: 7.35
Licence: CPOL
Views: 52,180
Bookmarked: 41
Downloaded: 379
keywords: user-defined literals , templates, constant expressions, recursive functions
|
|
20 Apr 2014
Updated: 27 Apr 2014
Rating: 4.71/5
Votes: 13
Popularity: 5.25
Licence: CPOL
Views: 32,591
Bookmarked: 12
Downloaded: 117
Problems with the one definition rule; examples of how to use constant expressions in inline functions.
|
|
3 Jun 2014
Updated: 3 Jun 2014
Rating: 4.59/5
Votes: 9
Popularity: 4.38
Licence: CPOL
Views: 8,900
Bookmarked: 7
Downloaded: 52
Defining ranges with steps that can be used in for-loops
|
|
3 Jan 2015
Updated: 3 Jan 2015
Rating: 4.93/5
Votes: 16
Popularity: 5.94
Licence: CPOL
Views: 44,928
Bookmarked: 33
Downloaded: 396
This article covers algorithms and implementations for sparse sets of integers, including the benchmark results.
|
|
18 Jan 2015
Updated: 18 Jan 2015
Rating: 4.81/5
Votes: 10
Popularity: 4.59
Licence: CPOL
Views: 56,825
Bookmarked: 17
Downloaded: 635
This article covers algorithms and implementations for maps with integers, contains benchmark results
|
|
4 Jun 2012
Updated: 5 May 2015
Rating: 4.93/5
Votes: 43
Popularity: 8.05
Licence: CPOL
Views: 103,719
Bookmarked: 94
Downloaded: 893
Essential features in Visual C++ 11 and GCC 4.7.0: move, rvalue references, prvalues, xvalues, perfect forwarding.
|
|
1 Jun 2013
Updated: 2 Jun 2013
Rating: 4.83/5
Votes: 6
Popularity: 3.76
Licence: CPOL
Views: 17,050
Bookmarked: 6
Downloaded: 85
The article shows the techniques for defining pass-through methods
|
|
14 Feb 2015
Updated: 23 Mar 2015
Rating: 4.77/5
Votes: 16
Popularity: 5.75
Licence: CPOL
Views: 25,003
Bookmarked: 26
Downloaded: 157
This articles proposes an implementation of a collection of constructs for writing loops in C++11, as an alternative to the standard C-style for-loop.
|
C++14 |
18 Nov 2017
Updated: 18 Nov 2017
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 44,392
Bookmarked: 8
Downloaded: 487
The article explains the recent Modules TS Draft for a future C++ Standard and provides examples based on the modules implementation in Visual C++ 2017
|
C++17 |
13 Nov 2019
Updated: 13 Nov 2019
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 11,492
Bookmarked: 1
Downloaded: 127
This article discusses an implementation of multidimensional array class with resizable dimensions. Access to subarrays and their swapping are allowed. Benchmarks are provided, which compare the performance of this implementation with Boost and standard C arrays.
|
|
10 Sep 2022
Updated: 10 Sep 2022
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 8,180
Bookmarked: 9
Downloaded: 67
This article shows that double-ended vector is much faster than std::deque and should be preferred.
|