Javascript Hashset

Javascript Hashset
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.

Javascript - Js - Hashset - Search - Lookup

Published By:Search Turbine

License Type:Freeware

Date Added:06 October, 2015

Version:1.0

Price:Free

Downloads:17

Size:4.0 KB

Platform: Windows , Windows 8 , Windows Server , Win2000

More downloads from Search Turbine

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.

DateApr 2, 2015

AuthorSearch Turbine

Size:37.0 KB

LicenseShareware

PlatformLinux, MAC, Windows, Windows Server

CategoryASP & PHP

PHPWee
What people say
- required fields
     
Related Downloads

PSPad editor is a programmers editor with support for multiple syntax highlighting profiles. It comes with a hex editor, CP conversion, text differences, templates, macros, spellcheck option, auto-completion, Code Explorer and much more.

DateNov 24, 2014

AuthorJan Fiala

Size:4.5 MB

LicenseFreeware

Price:Free

PlatformWindows, Windows 8, Win2000, WinServer

CategoryEditors

PSPad editor

With AnyDocForm, display the content of items in any Notes/Domino document, edit the text, number and date items, change the type of items, add or delete items, without using the document form.

DateSep 25, 2014

AuthorSeusoft

Size:136.0 KB

LicenseShareware

Price:$30.00

PlatformLinux, Win95, Win98, WinME

CategoryMisc Servers

AnyDocForm

Slide menu web control for JSP with support for IE, Firefox, Opera and others. Web control is an extensively tested Java bean, which provides a server-side object model that allows programmatic configuration of the menu.

DateSep 25, 2014

AuthorCoalesys, Inc.

Size:414.0 KB

LicenseShareware

Price:$199.00

PlatformWin, Win98, WinME, WinNT 4.x

CategoryJava & JavaScript

Coalesys PanelBar for JSP

Visual DHTML slide menu designer with support for IE, Firefox, Opera and others. Studio application provides an intuitive layout, on-the-fly preview mode, local and server path options, fast execution and menu creation.

DateSep 25, 2014

AuthorCoalesys, Inc.

Size:1.4 MB

LicenseShareware

Price:$59.00

PlatformWin, Win98, WinME, WinNT 4.x

CategoryHTML Tools

Coalesys PanelBar Studio

Popup menu web control for ASP with support for IE, Firefox, Opera and others. Web control is an extensively tested COM library, which provides a server-side object model that allows programmatic configuration of the menu.

DateSep 25, 2014

AuthorCoalesys, Inc.

Size:1.2 MB

LicenseShareware

Price:$199.00

PlatformWin, Win98, WinME, WinNT 4.x

CategoryASP & PHP

Coalesys WebMenu for ASP