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: 1400
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!
Previous Topic: Approximate distance calculation
Next Topic: OCR library (Tesseract?)
Goto Forum:
  


Current Time: Mon Jan 25 20:03:13 CET 2021

Total time taken to generate the page: 0.01034 seconds