Change hook information storage
authorJack Miller <jack@codezen.org>
Wed, 15 Jul 2015 02:19:39 +0000 (21:19 -0500)
committerJack Miller <jack@codezen.org>
Wed, 15 Jul 2015 02:31:49 +0000 (21:31 -0500)
commit6c01a5e310b09f072869f0ffdc0e730ec4fe9e11
treee2aa2dca991e8d054e2075c173af7b3c31f1f13c
parent44a1e9d9e2009cf75a0be6ee78c0861ddcb21cf2
Change hook information storage

- Shouldn't have to iterate through 10k possible hooks to find the ones
  with a specific key.

- Clean up as we go, to avoid having to iterate over the entire
  structure on every removal.
canto_next/hooks.py