Products of this category
JavaScript Code Library 1.9.0.146
JavaScript Code Library is a powerful source code Library shipped with 1000+ lines of code, quick and powerful search engine, powerful printing capability, password protection, user notes & attachments handeling, favorites&rating support and more!
Sothink DHTML Menu 9.6
Create SE friendly drop down menu, JavaScript menu without coding. 100+ templates&30 pre-set styles assist you in building cross-browser web menus, support IE9 beta. Integrate with main web editors including DW CS5. Fully customize the menu style.
Sothink DHTML Menu Builder 9.5
Create SE friendly drop down menu, JavaScript menu without coding. 100+ templates&30 pre-set styles assist in building versatile cross-browser web menus in clicks. Integrate with main web editors including DW CS5. Fully customize the menu style.

Javascript Hashset 1.0

Javascript Hashset 1.0

Select your Rating:
Publisher: Search Turbine
License: Freeware
Size: 4.0 KB
Date added: 2015-10-07
Downloads: 16
Downloads - Last week: 1



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




OS: Win2000,Win7 x32,Win7 x64,Windows 2000,Windows 7,Windows 8,Windows Server,Windows Vista,Windows Vista Business,Windows Vista Business x64,Windows Vista Enterprise,Windows Vista Enterprise x64,Windows Vista Home Basic,Windows Vista Home Basic x64,Windows Vista Home Premium,Windows Vista Home Premium x64,Windows Vista Starter,Windows Vista Ultimate,Windows Vista Ultimate x64,Windows XP,WinServer,WinVista,WinOther
System Requirements: Compatibility: Internet Explorer 5, IE5.5, IE6, IE7, IE8, IE9, IE10, IE11. Node, NPM, Chrome. Fir
Keywords of Javascript Hashset
Downloads from Search Turbine
PHPWee 1.0 -  PHPWee is an PHP minifier for website resources including HTML, HTML5, CSS and JavaScript files. PHPWee is free and open-source under the BSD License. ... (6/1) download
Related Press, Software News