L
listrecv
A simple IdentityMap (for O/R mappers, like ActiveRecord) can be coded
in a few lines of Ruby - but, it will cause memory leaks, as a a
reference will be kept even when no one else has one.
Is there anyway to tell Ruby not to count a particular reference
towards garbage collection.
EG:
def store(product)
map[Product][1422] = NoRefCount(product)
end
in a few lines of Ruby - but, it will cause memory leaks, as a a
reference will be kept even when no one else has one.
Is there anyway to tell Ruby not to count a particular reference
towards garbage collection.
EG:
def store(product)
map[Product][1422] = NoRefCount(product)
end