Heap::Simple::Perl - A pure perl implementation of the Heap::Simple interface


Heap-Simple-Perl documentation  | view source Contained in the Heap-Simple-Perl distribution.

Index


NAME

Top

Heap::Simple::Perl - A pure perl implementation of the Heap::Simple interface

SYNOPSIS

Top

    # Let Heap::Simple decide which implementation that provides its interface
    # it will load and use. This may be Heap::Simple::Perl or it may not be.
    # Still, this is the normal way of using Heap::Simple
    use Heap::Simple;
    my $heap = Heap::Simple->new(...);
    # Use heap as described in the Heap::Simple documentation

    # If for some reason you insist on using this version:
    use Heap::Simple::Perl;
    my $heap = Heap::Simple::Perl->new(...);
    # Use the pure perl heap as described in the Heap::Simple documentation

DESCRIPTION

Top

This module provides a pure perl implementation of the interface described in Heap::Simple. Look there for a description.

NOTES

Top

The dirty option has no effect. This heap type doesn't currently do any potentially unsafe optimizations.

Heap::Simple->implementation will return "Heap::Simple::Perl" if it selected this module.

EXPORT

Top

None.

SEE ALSO

Top

Heap::Simple, Heap::Simple::XS

AUTHOR

Top

Ton Hospel, <Heap-Simple@ton.iguana.be>

Parts are inspired by code by Joseph N. Hall http://www.perlfaq.com/faqs/id/196

COPYRIGHT AND LICENSE

Top


Heap-Simple-Perl documentation  | view source Contained in the Heap-Simple-Perl distribution.