Home » U++ Library support » U++ Core » Writing Bits object to disk
Re: Writing Bits object to disk [message #48099 is a reply to message #48097] |
Tue, 16 May 2017 20:17 |
crydev
Messages: 151 Registered: October 2012 Location: Netherlands
|
Experienced Member |
|
|
mirek wrote on Tue, 16 May 2017 13:12Added these:
void Set(int i, dword bits, int count);
void Set64(int i, uint64 bits, int count);
void SetN(int i, int count, bool b = true);
Slight disadvantage is that while Set detects "aligned" operation (i % 32 == 0, count == 32), there is some penalty, but it seems to be quite small (about 3-4 opcodes). I guess if you want to be faster than that, you have to use Raw....
Hi Mirek,
The changes look wonderful! Thanks a bunch.
crydev
|
|
|
Goto Forum:
Current Time: Tue Jun 04 00:49:15 CEST 2024
Total time taken to generate the page: 0.03004 seconds
|