This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: thunking, the next step


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]