Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 2 Jun 2005 14:58:24 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Robb, Sam" cc: cygwin AT cygwin DOT com Subject: RE: Serious performance problems (malloc related?) In-Reply-To: <3D848382FB72E249812901444C6BDB1D03E04FD3@exchange.timesys.com> Message-ID: References: <3D848382FB72E249812901444C6BDB1D03E04FD3 AT exchange DOT timesys DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 2 Jun 2005, Robb, Sam wrote: > > OTOH, Corinna is hard at work adding low-level Nt* calls to cygwin so, > > if it wasn't for the requirement that everything has to work on > > Windows 9x, the DLL would be smaller and faster. Instead, every > > system call currently needs to have a "do this if it's NT and that if > > it's 9x" test so "we" have been slow in moving to bypass the win32 api > > layer on Windows NT. > > > > OTOH, we will rebuild it. We do have the technology. > > Is there any reason why the cygwin DLL couldn't be built > twice: once for Win9x, and once for WinNT-based systems? > > Aside from potential installation issues ("install this > version of the DLL under 9x, that version under NT), it > seems like this would be a reasonable optimization. As long as we're mulling over ideas... Alternatively, one could write a helper library that implements Nt* low-level calls on Win9x (as wrappers around the current Win9x functionality), and then Cygwin itself would only need to test once whether it's running on 9x, to load the extra helper code. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/