Cookie Consent by Privacy Policies website
 
Language selection:   Deutsch   Deutsch   |   English   English

Javascript Hashset

This programme is presented to you by:

E-mail:pad [at] searchturbine [dot] com
Phone:4252740657
Facsimile:4252740657
Website:searchturbine.com
Support:searchturbine.com
Category:Web Development / Java & JavaScript
1.0
2015-05-30
4 KB
Win XP / Vista / 7 / 8
Compatibility: Internet Explorer 5, IE5.5, IE6, IE7, IE8, IE9, IE10, IE11. Node, NPM, Chrome. Fir
Languages:German, English
0 in May / 7 in total
 

Rating: 5.33/10 (3 votes cast)

 
Javascript Hashset

'JavaScript Hashset' is a pure JS implementation of the HashSet data-type. It is suitable with for client usage and also for node.js . It is optimized for JavaScript search / lookup routines - which can be a performance bottleneck slow when iterating Arrays in JavaScript.

This is free software available at http://searchturbine.com/js/javascript-hashset under the BSD License.

Compatibility: Internet Explorer 5, IE5.5, IE6, IE7, IE8, IE9, IE10, IE11. Node, NPM, Chrome. FireFox, Opera, Konqueror. It has 'close to universal' JS compatibility.

A hashset is like an unordered array of values, but it can be searched for a value exponentially faster than a the native Array.contains or Array.indexOf functions. This makes it easier to write efficient, fast code. Hassets may use marginally more memory than normal arrays, but not exponentially more so.

Hashsets are hugely popular in optimized c# and Java programming - because they allow developers a very fast way for looking up (searching) to see if a value already exists in a Hashset. It uses a dictionary like lookup - which does not get slower as the set grows in size. This is ideal for situations which we want avoid duplicate entries in an array - or check the existence of a value without a performance slowdown.

A common weakness of Hashsets is that they are unordered - and as such - can not be enumerated (foreach). This weakness is overcome in 'JavaScript Searchable Hashset' with a enumerate function and also a copyToArray function.

'JavaScript Searchable Hashset' can use any value as a key. String, integer, array, classes, and even types. This makes it flexible an in-keeping with common js programming practices.

It also includes the advanced hashset functions that Java and dotNet developers expect such as : 'copyToArray', 'exceptWith', 'isSubsetOf' and 'unionWith' which make it ideal for use in lower-level / higher performance applications.

 

Update-Infos for Javascript Hashset

Here you can subscribe for the update infos for this programme. You will then receive an e-mail notice each time an update has been submitted for this programme.

In order to subscribe for the update infos, please enter your e-mail address below. You will then receive an e-mail with a link, which you need to click in order to confirm you subscription.

You can unsubscribe from the list at any time. For this purpose, you will find a link at the end of each update info e-mail.

This service is completely free of charge for you.

Subscribe for update infos
Verification
 

Comments on Javascript Hashset

There are no comments to this programme.

Write a comment
 

Log in for Authors

Link-Partners

Log in for Link-Partners