thunking, the next step

Christopher Faylor cgf@redhat.com
Fri Nov 14 19:10:00 GMT 2003


On Sat, Nov 15, 2003 at 04:52:43AM +1100, Robert Collins wrote:
>On Sat, 2003-11-15 at 02:57, Christopher Faylor wrote:
>> On Fri, Nov 14, 2003 at 11:02:11PM +1100, Robert Collins wrote:
>> >Ok, I've now integrated and generalised Ron's unicode support mini-patch.
>> >
>> >So, here tis a version that, well the changelog explains the overview, 
>> >and io.h the detail.
>> >
>> >Overhead wise, this is reasonably low:
>> >1 strlen() per IO call minimum.
>> >1 unicode conversion, only if needed.
>> 
>> And a couple of tests for "do we do unicode" for every call.
>
>Which are all inline aren't they? I guess I don't see the overhead as
>significant compared to the strlen generation.

I'd rather just make the decision at initialization time if we can.
Possibly we could extend the function loader to either call FooW or
FooA as appropriate when Foo is specified.

cgf



More information about the Cygwin-patches mailing list