Ref::Util: accurate functions in XS for checking references

Door Sawyer X (‎Sawyer X‎) van AmsterdamX.pm
Datum: vrijdag 1 april 2016 09:45
Duur: 40 minuten
Taal: English
Tags: xs


"ref($ref) eq $ref_type" is a very common idiom but inexact.

Instead, I wrote some functions in XS to do it accurately. What? XS? How? Let me show you.

Probably worse, though... I implemented using optional opcodes!


Bijgewoond door: Arjen Laarhoven, Leo Mulders (‎awkward‎), Richard van Lochem (‎rvlochem‎), Søren Lund (‎slu‎), Frederico Recsky (‎Frederico‎), Abe Timmerman (‎abeltje‎), Steffen Winkler (‎STEFFENW‎), Jurgen Hildebrand,