yeah this looks like it will be less performant.  i guess in practice this will prob be a non issue but would be nice to avoid O(n) queries