sergot / openssl

OpenSSL bindings for Perl 6
MIT License
14 stars 31 forks source link

Use buf8.allocate instead of buf8.new #38

Closed MasterDuke17 closed 7 years ago

MasterDuke17 commented 7 years ago

buf8.allocate is even faster than creating the buf with a native int array, plus the code is a little cleaner/simpler. However, it was introduced in February 2016, so requires a Rakudo built after then.

Passes all the tests.

MasterDuke17 commented 7 years ago

@sergot Just checking in that you're ok with this change?