GitXplorerGitXplorer
n

demo_hashes

public
11 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
e5f05d9cff8b93699e4775625521ed2d237c6788

Solution: .hash is the magic sauce

nnathanl committed 11 years ago
Unverified
810c2307fbaedcf95e489ca839e98c288b7d2867

Problem: equal-value keys aren't treated the same

nnathanl committed 11 years ago
Unverified
fce8ea1f2f8c21192b09b0dc9292063848eb578c

HashMap can use ANY object as a key

nnathanl committed 11 years ago
Unverified
d0a1534853774a558e03f06ccc634a4e89b3a3d6

HashMap works for string keys

nnathanl committed 11 years ago
Unverified
19ac60ea82964161c0c65b85d03cd45a3bb42721

TupleMap has a basic hash-like interface.

nnathanl committed 11 years ago
Unverified
56943e3065e878276d80b68a7c83e4f1daefc92f

Initial commit

nnathanl committed 11 years ago

README

The README file for this repository.

Hashes are fun!

Re-implementing Ruby hashes to show (roughly) how they work. This code is the basis of a talk I give on the subject.

The commit history includes a progression of problems and solutions.