Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#mem_used ⇒ Object
for testing.
Instance Method Details
#mem_used ⇒ Object
for testing
190 191 192 193 |
# File 'ext/judy_hash.c', line 190
VALUE ruby_Hash_mem_used(VALUE hash) {
if (!RHASH(hash)->ntbl ) return Qnil;
return UINT2NUM(st_memsize(RHASH(hash)->ntbl));
}
|