Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Congratulations on "moveable"
Congratulations on "moveable" [message #48727] Wed, 30 August 2017 17:13
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
So I was experimenting with a shitty container I have written and the Insert method.

First, I replaced the assignment operator with a move operator. The worst case scenario became 33 times faster. It is really fast if you don't need to allocate an copy memory around.

Then I implemented something similar to Moveable and the same scenario became 88 times faster that the original copy based one. A single memcpy is very fast it turns out.

Now I need to double check and triple check the results since they are too good to be true! Maybe I made a mistake.

Still, congratulations on the idea. It is a very good one!
 
Read Message
Previous Topic: Approximate distance calculation
Next Topic: OCR library (Tesseract?)
Goto Forum:
  


Current Time: Fri Mar 29 15:40:16 CET 2024

Total time taken to generate the page: 0.01366 seconds