Skip to content
Playing with Go and testing Set implementation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
hashset.go
linkedlistset.go
ondemandarrayset.go
readme.markdown
realtimearrayset.go
set.go
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.

You can’t perform that action at this time.