LinksByUrl: make column values empty string.

This halves the storage cost of LinksByUrl and
has no downside as the data was redundant.
This commit is contained in:
Neil Williams
2011-12-22 00:44:55 -08:00
parent 45cdcc31c3
commit a2ee4578b4

View File

@@ -102,7 +102,7 @@ class Link(Thing, Printable):
def set_url_cache(self):
if self.url != 'self':
LinksByUrl._set_values(LinksByUrl._key_from_url(self.url),
{self._id36: self._id36})
{self._id36: ''})
@property
def already_submitted_link(self):