Playing with Go and testing Set implementation
Go
Permalink
Failed to load latest commit information.
Makefile
hashset.go first commit Jul 15, 2011
linkedlistset.go
ondemandarrayset.go first commit Jul 15, 2011
readme.markdown added blog link Jul 15, 2011
realtimearrayset.go
set.go first commit Jul 15, 2011
set_test.go

readme.markdown

What Is This?

This project is a playground to familiarize myself with Google's Go programming language. The idea is to benchmark different Set implementation.

I wrote a blog post that explains all of this: http://openmymind.net/2011/7/15/Learning-Go-By-Benchmarking-Set-Implementation

How To Run It

There are 3 set implementations available. Modify the Makefile to include one of the implementation, remove the other lines (you can't have comments within a list like that) and then run gotest -bench=. -memprofile=mem.out. Then, pick a different implementation, run make clean then re-run the test.