guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: port-for-each vs lazy sweep


From: Kevin Ryde
Subject: Re: port-for-each vs lazy sweep
Date: Wed, 29 Aug 2007 08:47:35 +1000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Han-Wen Nienhuys <address@hidden> writes:
>
>  /* Return a list of ports using a given file descriptor.  */
>  SCM_DEFINE (scm_fdes_to_ports, "fdes->ports", 1, 0, 0, 
>             (SCM fd),

I didn't think of that one.

>  void
> -scm_remove_from_port_table (SCM port)
> -#define FUNC_NAME "scm_remove_from_port_table"
> +scm_i_remove_port (SCM port)
> +#define FUNC_NAME "scm_remove_port"

I had in mind that if it was done with one of the weak thingies then
there'd be no explicit removal needed.  Doesn't sound like a huge
improvement if that still has to be done.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]