Hello,
here is a performance fix for NSApplication:
2000-08-26 Georg Fleischmann
* gui/Source/NSApplication.m
[NSApplication run]:
no menu update for NSPeriodic and NSMouseMoved events (too expensive)
*** gui/Source/NSApplication.m Sat Aug 26 18:19:59 2000
--- gui/Source/NSApplication.m.old Sat Aug 26 17:57:50 2000
***************
*** 883,898 ****
inMode: NSDefaultRunLoopMode
dequeue: YES];
if (e)
! {
! [self sendEvent: e];
! // update (en/disable) the services menu's items
! if( !([e type] & (NSPeriodic|NSMouseMoved)) )
! {
! [listener updateServicesMenu];
! [main_menu update];
! }
! }
// send an update message to all visible windows
if (windows_need_update)
--- 883,893 ----
inMode: NSDefaultRunLoopMode
dequeue: YES];
if (e)
! [self sendEvent: e];
! // update (en/disable) the services menu's items
! [listener updateServicesMenu];
! [main_menu update];
// send an update message to all visible windows
if (windows_need_update)
---
* Georg Fleischmann
* vhf interservice GmbH
* research and development on self-similarity and geometry of fractals
* [EMAIL PROTECTED]