Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-psqueues | Distribution: openSUSE Tumbleweed |
Version: 0.2.8.0 | Vendor: openSUSE |
Release: 1.12 | Build date: Fri Oct 27 17:51:37 2023 |
Group: Unspecified | Build host: reproducible |
Size: 510055 | Source RPM: ghc-psqueues-0.2.8.0-1.12.src.rpm |
Packager: https://bugs.opensuse.org | |
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*.
BSD-3-Clause
* Fri Oct 27 2023 Peter Simons <psimons@suse.com> - Update psqueues to version 0.2.8.0. - 0.2.8.0 (2022-10-27) * Add a number of minor optimizations and INLINE pragmas: - The previous `INLINABLE` pragmas were insufficient to fully specialize functions. Add a bunch more. I believe they now do the job they were meant to. - Change the way we check for very short queues in `lbalance` and `rbalance` to avoid redundant size comparisons in the non-short case. - Make the fields of `Play` strict. I doubt this makes any practical difference, since `tourView` is `INLINE`, but in fact the fields are always in WHNF, so we might as well make that explicitly clear. * Fix a bug in `fromList`. It previously used the *first* occurrence of a duplicated key; it now uses the *last* occurrence, as documented. * Cleanup: refactor `binShrinkL` and `binShrinkR` into `bin`. * Bump deepseq upper bound to 1.6 * Bump tasty upper bound to 1.6 * Thu Mar 30 2023 Peter Simons <psimons@suse.com> - Updated spec file to conform with ghc-rpm-macros-2.5.2. * Sat Nov 06 2021 psimons@suse.com - Update psqueues to version 0.2.7.3. [#] CHANGELOG - 0.2.7.3 (2021-11-05) * Relax hashable, tasty and QuickCheck upper bounds * Bump Cabal-version to 1.10 * Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com> - disable %{ix86} build * Mon Aug 31 2020 psimons@suse.com - Update psqueues to version 0.2.7.2 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Tue Aug 18 2020 Peter Simons <psimons@suse.com> - Replace %setup -q with the more modern %autosetup macro. * Tue Jun 09 2020 psimons@suse.com - Add psqueues at version 0.2.7.2.
/usr/lib64/ghc-9.8.2/lib/libHSpsqueues-0.2.8.0-FBnkGz2BDGG4AS2yxpGAYI-ghc9.8.2.so /usr/share/licenses/ghc-psqueues /usr/share/licenses/ghc-psqueues/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Sep 3 23:54:54 2024