#define SvANY(sv) (sv)->sv_any #define SvIVX(sv) ((XPVIV*) SvANY(sv))->xiv_iv
I am just interested to use Perl's data structure for storage.
Then use a string as a C array like BrowserUk suggested, with the following changes:
In reply to Re^3: Need for (XS) speed
by ikegami
in thread Need for (XS) speed
by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |