1 | svoid benchmarkBitSetXOR(int n) {
|
2 | BitSet a = randomBitSet(n), b = randomBitSet(n); |
3 | benchFor5Seconds(r { a.xor(b) });
|
4 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029052 |
| Snippet name: | benchmarkBitSetXOR |
| Eternal ID of this version: | #1029052/2 |
| Text MD5: | 72bc628b9d7f1f250e7a0f92fdcbbe3a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-18 18:07:18 |
| Source code size: | 125 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 473 / 517 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |