This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: SCM_NINUMP
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: SCM_NINUMP
- From: Michael Livshin <mlivshin at bigfoot dot com>
- Date: 18 May 2000 16:56:07 +0300
- Cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
- Organization: who? me?
- References: <Pine.LNX.4.21.0005181543561.20845-100000@marvin.ida.ing.tu-bs.de>
Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> To give some more data, here's how often certain seldom used SCM_NXXXP
> macros appear in libguile:
>
> SCM_NMARKEDP 1 uses
> SCM_NINUMP 2 uses
> SCM_NSTRINGP 0 uses
> SCM_NRWSTRINGP 0 uses
> SCM_NECONSP 6 uses
> SCM_NCELLP 6 uses
> SCM_NDOUBLE_CELLP 0 uses
> SCM_NVECTORP 0 uses
>
> In contrast, the following four macros appear very often:
>
> SCM_NIMP 246 uses (5 times (!SCM_NIMP (obj)) in gh_data)
> SCM_NFALSEP 81 uses
> SCM_NNULLP 47 uses
> SCM_NCONSP 22 uses
the last four are not really syntactic shortcuts, which is why they
should stay, IMHO. maybe the names can change if they bother people,
but I don't think that's necessary. well, I'm not so sure about
SCM_NCONSP, actually.
--
You can sing to my cat if you like.