Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Convert CryptoRandom and OSRandom into structs to save allocations #65

Merged
merged 2 commits into from
May 30, 2018

Conversation

MrMage
Copy link
Contributor

@MrMage MrMage commented May 26, 2018

This saves an allocation whenever CryptoRandom() is called.

MrMage added 2 commits May 26, 2018 11:19
This saves an allocation whenever `CryptoRandom()` is called.
@MrMage MrMage changed the title Convert CryptoRandom into a struct Convert CryptoRandom and OSRandom into structs to save allocations May 26, 2018
@tanner0101 tanner0101 added this to the 3.2.0 milestone May 30, 2018
@tanner0101 tanner0101 added the enhancement New feature or request label May 30, 2018
@tanner0101 tanner0101 self-assigned this May 30, 2018
@tanner0101 tanner0101 merged commit f5b7a39 into master May 30, 2018
@penny-coin
Copy link

Hey @MrMage, you just merged a pull request, have a coin!

You now have 6 coins.

@tanner0101 tanner0101 deleted the cryptorandom-struct branch May 30, 2018 00:57
@tanner0101
Copy link
Member

thanks!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants