Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

ghc-psqueues-0.2.8.0-150500.11.3.2 RPM for ppc64le

From OpenSuSE Leap 15.6 for ppc64le

Name: ghc-psqueues Distribution: SUSE Linux Enterprise 15
Version: 0.2.8.0 Vendor: SUSE LLC <https://www.suse.com/>
Release: 150500.11.3.2 Build date: Mon Jan 29 16:13:45 2024
Group: Unspecified Build host: ibs-power9-13
Size: 804895 Source RPM: ghc-psqueues-0.2.8.0-150500.11.3.2.src.rpm
Packager: https://www.suse.com/
Url: https://hackage.haskell.org/package/psqueues
Summary: Pure priority search queues
The psqueues package provides <http://en.wikipedia.org/wiki/Priority_queue
Priority Search Queues> in three different flavors.

* 'OrdPSQ k p v', which uses the 'Ord k' instance to provide fast insertion,
deletion and lookup. This implementation is based on Ralf Hinze's
<http://citeseer.ist.psu.edu/hinze01simple.html A Simple Implementation
Technique for Priority Search Queues>. Hence, it is similar to the
<http://hackage.haskell.org/package/PSQueue PSQueue> library, although it is
considerably faster and provides a slightly different API.

* 'IntPSQ p v' is a far more efficient implementation. It fixes the key type to
'Int' and uses a <http://en.wikipedia.org/wiki/Radix_tree radix tree> (like
'IntMap') with an additional min-heap property.

* 'HashPSQ k p v' is a fairly straightforward extension of 'IntPSQ': it simply
uses the keys' hashes as indices in the 'IntPSQ'. If there are any hash
collisions, it uses an 'OrdPSQ' to resolve those. The performance of this
implementation is comparable to that of 'IntPSQ', but it is more widely
applicable since the keys are not restricted to 'Int', but rather to any
'Hashable' datatype.

Each of the three implementations provides the same API, so they can be used
interchangeably. The benchmarks show how they perform relative to one another,
and also compared to the other Priority Search Queue implementations on
Hackage: <http://hackage.haskell.org/package/PSQueue PSQueue> and
<http://hackage.haskell.org/package/fingertree-psqueue fingertree-psqueue>.

<<http://i.imgur.com/KmbDKR6.png>>

<<http://i.imgur.com/ClT181D.png>>

Typical applications of Priority Search Queues include:

* Caches, and more specifically LRU Caches;

* Schedulers;

* Pathfinding algorithms, such as Dijkstra's and A*.

Provides

Requires

License

BSD-3-Clause

Changelog

* Fri Oct 27 2023 psimons@suse.com
  - Add psqueues at version 0.2.8.0.

Files

/usr/lib64/ghc-8.10.7/psqueues-0.2.8.0
/usr/lib64/ghc-8.10.7/psqueues-0.2.8.0/libHSpsqueues-0.2.8.0-7h5wAanyaktE7inlSIZw5s-ghc8.10.7.so
/usr/share/licenses/ghc-psqueues
/usr/share/licenses/ghc-psqueues/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri May 3 23:24:22 2024