NAME

Language::Befunge::Storage::Generic::Vec::XS - Language::Befunge::Storage::Generic::Vec rewritten for speed

DESCRIPTION

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.

METHODS

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:

get_value()
set_value()
_offset()
expand()
_is_xs()

SEE ALSO

Language::Befunge::Storage::Generic::Vec

AUTHOR

Mark Glines, <mark@glines.org>

Development is discussed on <language-befunge@mongueurs.net>

COPYRIGHT & LICENSE

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.