Javascript Hashset 1.0

Version: 1.0
Javascript Hashset

Downloads:0

Hits:1757

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

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

Add Javascript Search Engine

Follow a few simple steps and have a customized code generated for your search box and search result pages. there is no cvxx logo if you want

By: Raul Mauriz 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 Site Search

JavaScript Site Search is an amazing script that can be used in your web page to implement a search engine. This script can be copied onto your...

By: The JavaScript Source Homepage

Freeware

Zoom Search Engine (Javascript) 3.0

Webmasters can use this script on their website to generate their site with search engine facility to make easy to their site visitors to search...

By: Wrensoft Web Software Homepage

Shareware

Javascript Get Variables.js

This is an effective javascript function with which you would be able to read form variables in a html form. Users are allowed to ally dynamic...

By: Franciscocharrua Homepage

Freeware