Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

REST: P: Linus Torvalds S: Buried alive in email -- from /usr/src/linux/MAINTAINERS


devel / comp.lang.scheme / memory usage (in Gauche) ---- Count of different CONS'es

SubjectAuthor
o memory usage (in Gauche) ---- Count of different CONS'esHen Hanna

1
memory usage (in Gauche) ---- Count of different CONS'es

<1540007a-df9d-4ee4-b4f4-f9e3081cc028n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9998&group=comp.lang.scheme#9998

  copy link   Newsgroups: comp.lang.scheme
X-Received: by 2002:a05:620a:16b9:b0:6cd:ee77:4223 with SMTP id s25-20020a05620a16b900b006cdee774223mr17518915qkj.114.1663696011978;
Tue, 20 Sep 2022 10:46:51 -0700 (PDT)
X-Received: by 2002:a05:6870:c386:b0:102:fcb:86cd with SMTP id
g6-20020a056870c38600b001020fcb86cdmr2805845oao.296.1663696011730; Tue, 20
Sep 2022 10:46:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.scheme
Date: Tue, 20 Sep 2022 10:46:51 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:648:8600:8880:0:0:0:c200;
posting-account=YjTkGAoAAAA4_fbAISfvtIqrYbghMeBx
NNTP-Posting-Host: 2601:648:8600:8880:0:0:0:c200
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1540007a-df9d-4ee4-b4f4-f9e3081cc028n@googlegroups.com>
Subject: memory usage (in Gauche) ---- Count of different CONS'es
From: henha...@gmail.com (Hen Hanna)
Injection-Date: Tue, 20 Sep 2022 17:46:51 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1609
 by: Hen Hanna - Tue, 20 Sep 2022 17:46 UTC

i think there's a Python function that gives me the amount of memory usage for an Object---

is there a similar function in Gauche ?

alternatively... waht i want to do is...

i have this Vector whose elements are nested Lists, and i want a (rough) count of different CONS'es --------- i suppose i'd use a Hashtable for this...

alternatively... if there a Proc in Gauche that gives me the current Memory-Usage profile --- like Gmail's

You are currently using xxx MB (24%) of your 15360 MB

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor