[antlr-interest] BENCHMARK. ANTLR. Bad results.

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Nov 13 23:21:02 PST 2004


On 11/14/04 1:53 AM, "John D. Mitchell" <johnm-antlr at non.net> wrote:

>>> Has the world changed in more recent versions of MS Windows internals?
>>> Certainly historically, the MS memory allocator was truly atrocious in
>>> terms of performance.  Especially as churn and memory pressure increase.
> 
>> This is not issue of Windows internals!
> 
>> If you look into sources of Visual libs, you will see that
> 
>> ::operator new()
> 
>> Simply calls malloc().
> 
>> This was in Visual 6.0 and it still in 7.x
> 
> I am talking about MS Windows internals -- the OS allocator is a POS
> w.r.t. performance (again, unless they completely changed it in recent
> editions).

Jon,

OS allocator this is what we all use.

But exists many different Heap Manager models.

E.g. For small objects you will get better speed and smaller RAM usage if
you wil use not just OS allocator but special manager. This is described in
the C++ book of Stroustrup.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list