bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Adding an API hook to enable a select extension


From: Aharon Robbins
Subject: Re: [bug-gawk] Adding an API hook to enable a select extension
Date: Fri, 31 May 2013 15:33:23 +0300
User-agent: Heirloom mailx 12.5 6/20/10

Hi Andy.

If you add to the API, please name the function lookup_file and not
file_lookup.

The linear search through the redirection list is not likely to be
a bottle neck that we would need a hash table. Actual I/O swamps
that kind of thing, for sure.

I suggest that we start a new branch for experimenting with this
stuff instead of dropping something directly into master.

The first step is to extend the API. The second step is to implement
a select function and write some code to use it.

Then "lather, rinse, repeat" until everyone is happy.

I don't have answers to the questions about dispatching mechanisms. There
is the (originally) System V poll() interface but I don't think we
should go there - select is likely to be the most available.

Thanks,

Arnold



reply via email to

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