Home » U++ Library support » U++ Core » Writing Bits object to disk
Re: Writing Bits object to disk [message #47948 is a reply to message #47943] |
Wed, 26 April 2017 08:27 |
crydev
Messages: 151 Registered: October 2012 Location: Netherlands
|
Experienced Member |
|
|
mirek wrote on Tue, 25 April 2017 16:40crydev wrote on Tue, 25 April 2017 14:03mirek wrote on Tue, 25 April 2017 13:39It is still weird that you are getting different numbers than me.
Could you perhaps try my benchmark?
Are you benchmarking "release" mode?
What CPU / Compiler are you using? Do you have latest theide (with FAST release mode always on)?
I updated my TheIDE to the latest version, but it did not make a difference. I am using the Visual C++ compiler from Visual Studio 2015. My CPU is a Core i7 2600k. I compiled with Release mode, and the following compiler flags: -O2 /GS- /Qvec-report:2
What is FAST release mode? I also tried your RTIMING option, but it gives me the same results as my own measurement.
Weird the only difference seems to be CPU (i7 4771 here)...
Have you tried my benchmark as it is?
That said, even if those numbers you are getting were real, I guess it is now close to Vector<bool> anyway.
I haven't tried your benchmark, I could try that too. I see that Bits is coming closer to Vector<bool> in set performance, but at http://www.bfilipek.com/2017/04/packing-bools.html they provided a method that is even faster. How do you feel about a Reserve(int) function for Bits?
(Good that Upp:Bits is now faster than std::bitset btw .) Since I set billions of bits, maybe a vector set method accepting 16 bools (with value 0x80) is an even bigger performance improvement.
Thanks,
crydev
|
|
|
|
|
Writing Bits object to disk
By: crydev on Wed, 11 January 2017 17:07
|
|
|
Re: Writing Bits object to disk
By: mr_ped on Thu, 12 January 2017 01:20
|
|
|
Re: Writing Bits object to disk
By: crydev on Thu, 12 January 2017 09:03
|
|
|
Re: Writing Bits object to disk
By: mirek on Fri, 13 January 2017 08:39
|
|
|
Re: Writing Bits object to disk
By: crydev on Wed, 18 January 2017 08:51
|
|
|
Re: Writing Bits object to disk
By: crydev on Mon, 24 April 2017 19:19
|
|
|
Re: Writing Bits object to disk
By: mirek on Mon, 24 April 2017 21:08
|
|
|
Re: Writing Bits object to disk
By: crydev on Tue, 25 April 2017 09:36
|
|
|
Re: Writing Bits object to disk
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 25 April 2017 10:31
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 25 April 2017 10:34
|
|
|
Re: Writing Bits object to disk
By: crydev on Tue, 25 April 2017 11:37
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 25 April 2017 11:59
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 25 April 2017 12:38
|
|
|
Re: Writing Bits object to disk
By: crydev on Tue, 25 April 2017 13:35
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 25 April 2017 13:39
|
|
|
Re: Writing Bits object to disk
By: crydev on Tue, 25 April 2017 14:03
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 25 April 2017 16:40
|
|
|
Re: Writing Bits object to disk
By: crydev on Wed, 26 April 2017 08:27
|
|
|
Re: Writing Bits object to disk
By: crydev on Wed, 26 April 2017 08:50
|
|
|
Re: Writing Bits object to disk
By: mirek on Wed, 26 April 2017 13:38
|
|
|
Re: Writing Bits object to disk
By: crydev on Thu, 27 April 2017 10:31
|
|
|
Re: Writing Bits object to disk
By: mirek on Thu, 27 April 2017 23:50
|
|
|
Re: Writing Bits object to disk
By: crydev on Fri, 28 April 2017 19:04
|
|
|
Re: Writing Bits object to disk
By: mirek on Sat, 29 April 2017 09:05
|
|
|
Re: Writing Bits object to disk
By: omari on Fri, 28 April 2017 19:31
|
|
|
Re: Writing Bits object to disk
By: mirek on Sat, 29 April 2017 09:53
|
|
|
Re: Writing Bits object to disk
By: crydev on Tue, 02 May 2017 22:54
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 02 May 2017 23:55
|
|
|
Re: Writing Bits object to disk
By: crydev on Wed, 03 May 2017 09:00
|
|
|
Re: Writing Bits object to disk
By: mirek on Wed, 03 May 2017 09:53
|
|
|
Re: Writing Bits object to disk
By: crydev on Wed, 03 May 2017 11:12
|
|
|
Re: Writing Bits object to disk
By: mirek on Wed, 03 May 2017 11:27
|
|
|
Re: Writing Bits object to disk
By: crydev on Wed, 03 May 2017 12:24
|
|
|
Re: Writing Bits object to disk
By: mirek on Wed, 03 May 2017 12:37
|
|
|
Re: Writing Bits object to disk
By: crydev on Wed, 03 May 2017 18:33
|
|
|
Re: Writing Bits object to disk
By: crydev on Sat, 06 May 2017 10:28
|
|
|
Re: Writing Bits object to disk
By: crydev on Tue, 16 May 2017 09:12
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 16 May 2017 10:39
|
|
|
Re: Writing Bits object to disk
By: mirek on Tue, 16 May 2017 13:12
|
|
|
Re: Writing Bits object to disk
By: crydev on Tue, 16 May 2017 20:17
|
Goto Forum:
Current Time: Sat Jun 01 22:42:46 CEST 2024
Total time taken to generate the page: 0.01032 seconds
|