Language::Befunge::Storage::Generic::Vec::XS - Language::Befunge::Storage::Generic::Vec rewritten for speed
Language::Befunge::Storage::Generic::Vec implements a linear storage model, where a perl string is used to store a (potentially very large) integer array. The integers are accessed from perl with vec().
Unfortunately, vec() operates on unsigned integers, which means some extra calculations are necessary to convert between unsigned and signed integers.
If the access was done from C, using a signed integer pointer, the access would be much faster, and the conversion would be unnecessary.
This module implements a subset of the LBSGV API. Please refer to that module for more information on the methods we implement, listed as follows:
Language::Befunge::Storage::Generic::Vec
Mark Glines, <mark@glines.org>
Development is discussed on <language-befunge@mongueurs.net>
Copyright (c) 2008 Mark Glines, all rights reserved.
This program is licensed under the terms of the Artistic License, version 2.0. See the "LICENSE" file for details.
To install Language::Befunge::Storage::Generic::Vec::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Befunge::Storage::Generic::Vec::XS
CPAN shell
perl -MCPAN -e shell install Language::Befunge::Storage::Generic::Vec::XS
For more information on module installation, please visit the detailed CPAN module installation guide.