Skip to content

Conversation

@Mogball
Copy link
Contributor

@Mogball Mogball commented Nov 6, 2017

No description provided.

* Integer type arrays generally have the fastest access
* times in C++.
*/
int m_array[ceil_bits<nBits>::value];
Copy link
Contributor

@dhillondeep dhillondeep Nov 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should use uint32_t instead of int because int size is system dependent and I believe for to_uint32 you want it to be 32 bits

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true

@Mogball Mogball force-pushed the jeff/bitset_fixes branch 2 times, most recently from bf2451e to 06d7df0 Compare November 6, 2017 03:40
Copy link
Contributor

@dhillondeep dhillondeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks all good now

@dhillondeep dhillondeep merged commit 5136ee1 into wloop:master Nov 6, 2017
@Mogball Mogball deleted the jeff/bitset_fixes branch November 6, 2017 04:11
@Mogball Mogball mentioned this pull request Nov 7, 2017
dhillondeep pushed a commit that referenced this pull request May 26, 2020
* Fixed up Bitset

* code review changes

* cast changed from int to uint32_t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants