Home » Community » PR, media coverage, articles and documentation » Second CodeProject article
|
|
|
|
|
|
|
Re: Second CodeProject article [message #45853 is a reply to message #45851] |
Wed, 13 January 2016 15:10 ![Go to previous message Go to previous message](theme/default/images/up.png) ![Go to next message Go to next message](theme/default/images/down.png) |
cbpporter
Messages: 1406 Registered: September 2007
|
Ultimate Contributor |
|
|
mirek wrote on Wed, 13 January 2016 14:43cbpporter wrote on Wed, 13 January 2016 11:26Those benchmarks are really impressive and hard to beat. Great job!
Not sure that raw performance will help us convert a lot of new people over to U++ in this day and age, but it is good to have.
PS: I'm interested on how the benchmark looks with long strings (512+ characters) in the vector? Especially in the std one. Did they switch their implementation over to move internal elements?
Seriously, std::sort vs Sort with long strings is not as clear win (if I remember well, about 2x).
Anyway, both GCC and MSC now has moving std::string, but it is till much slower than plain nice memcpy... (I am speaking about e.g. Vector::Insert here).
Oh, BTW, now that you have brought it up: I have totally borrowed the idea of memcpy inside of container implementation from you.
Hope you don't mind .
|
|
|
Re: Second CodeProject article [message #45856 is a reply to message #45853] |
Wed, 13 January 2016 17:03 ![Go to previous message Go to previous message](theme/default/images/up.png) |
![](https://www.ultimatepp.org/forums/images/custom_avatars/3.png) |
mirek
Messages: 14000 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Wed, 13 January 2016 15:10mirek wrote on Wed, 13 January 2016 14:43cbpporter wrote on Wed, 13 January 2016 11:26Those benchmarks are really impressive and hard to beat. Great job!
Not sure that raw performance will help us convert a lot of new people over to U++ in this day and age, but it is good to have.
PS: I'm interested on how the benchmark looks with long strings (512+ characters) in the vector? Especially in the std one. Did they switch their implementation over to move internal elements?
Seriously, std::sort vs Sort with long strings is not as clear win (if I remember well, about 2x).
Anyway, both GCC and MSC now has moving std::string, but it is till much slower than plain nice memcpy... (I am speaking about e.g. Vector::Insert here).
Oh, BTW, now that you have brought it up: I have totally borrowed the idea of memcpy inside of container implementation from you.
Hope you don't mind .
It is open source, after all, is not it... ![Smile](images/smiley_icons/icon_smile.gif)
So, you have started your own framework?
Mirek
|
|
|
Goto Forum:
Current Time: Sat Jul 27 07:36:35 CEST 2024
Total time taken to generate the page: 0.02355 seconds
|