Increase speed

This patch improves performance of all WeakMap operations, hopefully
without compromising correctness.

My dubious benchmark shows a tenfold increase in operations per second
for get and set on a simple object.

Fixes #1