Javascript Hashset 1.0



Publisher Description



'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.


About Javascript Hashset

Javascript Hashset is a free software published in the Java & JavaScript list of programs, part of Web Development.

This Java & JavaScript program is available in English. It was last updated on 05 March, 2024. Javascript Hashset is compatible with the following operating systems: Windows.

The company that develops Javascript Hashset is Search Turbine. The latest version released by its developer is 1.0.

The download we have available for Javascript Hashset has a file size of 4.10 KB. Just click the green Download button above to start the downloading process. The program is listed on our website since 2015-05-30 and was downloaded 134 times. We have already checked if the download link is safe, however for your own protection we recommend that you scan the downloaded software with your antivirus. Your antivirus may detect the Javascript Hashset as malware if the download link is broken.

How to install Javascript Hashset on your Windows device:

  • Click on the Download button on our website. This will start the download from the website of the developer.
  • Once the Javascript Hashset is downloaded click on it to start the setup process (assuming you are on a desktop computer).
  • When the installation is finished you should be able to see and run the program.



RELATED PROGRAMS
Our Recommendations






BarCode2D-PNG


Click stars to rate this APP!

Users Rating:  
  0.0/5     0
Downloads: 134
Updated At: 2024-03-05
Publisher: Search Turbine
Operating System: Windows
License Type: Free