2 # This file is part of Language::Befunge::Vector::XS.
3 # Copyright (c) 2008 Jerome Quelin, all rights reserved.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the same terms as Perl itself.
10 package Language
::Befunge
::Vector
::XS
;
20 '+=' => \
&_add_inplace
,
21 '-=' => \
&_substract_inplace
,
25 our $VERSION = '0.2.0';
28 XSLoader
::load
('Language::Befunge::Vector::XS', $VERSION);
30 # Preloaded methods go here.
44 Language::Befunge::Vector::XS - Language::Befunge::Vector rewritten for speed
50 The C<Language::Befunge> module makes heavy use of n-dims vectors,
51 mapped to the C<Language::Befunge::Vector> class. This allows to
52 abstract the funge dimension while still keeping the same code for the
55 However, such an heavy usage does have some impact on the performances.
56 Therefore, this modules is basically a rewrite of LBV in XS. If
57 installed, then LBV will automagically load it and replace its own
58 functions with the XS ones.
64 This module implements exactly the same api as LBV. Please refer to this
65 module for more information on the following methods:
81 =item get_all_components()
89 =item standard mathematical operations
91 =item inplace mathematical operations
93 =item comparison operations
100 L<Language::Befunge::Vector>
105 Jerome Quelin, E<lt>jquelin@cpan.orgE<gt>
107 Development is discussed on E<lt>language-befunge@mongueurs.netE<gt>
110 =head1 COPYRIGHT & LICENSE
112 Copyright (c) 2008 Jerome Quelin, all rights reserved.
114 This program is free software; you can redistribute it and/or modify
115 it under the same terms as Perl itself.