ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Array-Heap/Heap.pm
(Generate patch)

Comparing Array-Heap/Heap.pm (file contents):
Revision 1.2 by root, Sun Jul 26 04:50:02 2009 UTC vs.
Revision 1.3 by root, Sun Jul 26 05:38:00 2009 UTC

11There are a multitude of heap and heap-like modules on CPAN, you might 11There are a multitude of heap and heap-like modules on CPAN, you might
12want to search for /Heap/ and /Priority/ to find many. They implement more 12want to search for /Heap/ and /Priority/ to find many. They implement more
13or less fancy datastructures that might well be what you are looking for. 13or less fancy datastructures that might well be what you are looking for.
14 14
15This module takes a different approach: It exports functions (i.e. no 15This module takes a different approach: It exports functions (i.e. no
16object orientation) that are loosely modeled after the C++ STL's heap 16object orientation) that are loosely modeled after the C++ STL's binary
17functions. They all take an array as argument, just like perl's built-in 17heap functions. They all take an array as argument, just like perl's
18functions C<push>, C<pop> etc. 18built-in functions C<push>, C<pop> etc.
19 19
20The implementation itself is in C for maximum speed. 20The implementation itself is in C for maximum speed.
21 21
22=head1 FUNCTIONS 22=head1 FUNCTIONS
23 23

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines