Javascript Hashset 1.0

Version: 1.0
Javascript Hashset

Downloads:0

Hits:1652

SourceYES

Link Broken:Report It!

Package:Without source

Price:$0

Package:Source included

Price:$0

More info Download

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.

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.

Related:

Hashset - Javascript - Js - Lookup - Search

User Reviews:

Write Review *
Your name *
Email *
(Your comments will be reviewed by our staff before they are posted)
Rate this product *
Captcha Image
Enter code from image *

 

Related:

Scripts Encryptor (ScrEnc) 2.I

ScrEnc provides tools to encrypt your JavaScript/JScript, C/C++/MFC scripts before posting them online, or for distribution, preserving full...

By: Dennis A. Babkin Homepage

Shareware

EJS TreeGrid 4.5

DHTML/AJAX component in JavaScript to display and edit data in tree, table, grid

By: Jan Kohout Homepage

Shareware

PyPaPi Application Framework 0.8

PyPaPi Java Desktop Application Framework is an application framework based on JPA2 persistence provider and Qt toolkit.

By: pypapi.org Homepage

Freeware

Etv Lookup 3.5

Powerful lookup components with display of several fields in the closed lookup combo box, filters on drop-down list, trees and multilevelness,...

By: Etv Software

Shareware

Etv Library 3.5

Complete db-aware component pack for rapid development of professional db applications.
Powerful lookup components with display of several...

By: Etv Software

Shareware

'Etv Library 3.4

Powerful lookup components with display of several fields, filters, trees and multilevelness, advanced search, list sorting, direct editing, call...

By: etvsoft.com

Shareware

ExeScript 3.3.4

Create secured stand-alone applications from BAT, VBS, JS or WSH scripts. Ever want to run a Visual Basic or JavaScript without needing to open it...

By: Mark Stephens Homepage

Shareware

Lookup 1

Lookup 1 is a JavaScript, which can be used to analyze the U.S. Social Security Number and find out in which State you were born. The first three...

By: Danny Goodman Homepage

Freeware

GraphicsJS 1.2.0

GraphicsJS is a free, open-source JavaScript library for easily drawing any interactive HTML5 graphics and animation. It's lightweight and supports...

By: Wendy O'Keeffe Homepage

Freeware

Javascript Obfuscation Application 5

With Javascript Obfuscation Application you can replace the white space, comments and line breaks, function names, variable names other object...

By: Javascript Obfuscation Application Homepage

Freeware