Skip to content

Releases: poslegm/scala-phash

v1.2.2

10 Jun 22:19
Compare
Choose a tag to compare

Scala 2.13 support

v1.2.1

20 Feb 22:20
Compare
Choose a tag to compare

Perfomance improvements

.map and .foreach methods in hot code replaced to while loops.

About 30% acceleration for sbt test achieved.

v.1.1.1

11 Nov 23:25
f716362
Compare
Choose a tag to compare

Fixed #6

v.1.2.0

11 Nov 23:42
4f53a3a
Compare
Choose a tag to compare

Package name simplified

Solved #3.
Removed useless domain in package name. New import api:

import scalaphash.PHash._

v1.1.0

19 May 21:13
Compare
Choose a tag to compare

Safe API

Solved #1. Now you can compute hashes in two ways:

val hash1: Either[Throwable, DCTHash] = dctHash(image) // safe way
val hash2: DCTHash = unsafeDctHash(image) // can throw an exception

Improved readability

Added trait PHashAlgebra with public functions signatures and docs for comfortable API overview.