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