Path: utzoo!utgpu!attcan!uunet!sco!jamesm From: jamesm@sco.COM (James M. Moore) Newsgroups: comp.sys.mac.programmer Subject: Re: Append menu is slow. Keywords: AppendMenu menu slow efficiency Message-ID: <3014@viscous.sco.COM> Date: 10 May 89 23:42:21 GMT References: <89May9.171757edt.11077@ephemeral.ai.toronto.edu> Sender: news@sco.COM Reply-To: jamesm@sco.COM (James M. Moore) Organization: The Santa Cruz Operation, Inc. Lines: 21 In article <89May9.171757edt.11077@ephemeral.ai.toronto.edu> dudek@ai.toronto.edu (Gregory Dudek) writes: > I am using AppendMenu to make some big menus and it is slowwwwww (i.e. on >the order of 5 seconds on a Mac Plus). Worse yet, I have to create >new menus like this dynamically & the delays are unbearable. If >anybody has any suggestions on how to speed things up, they'd be >most welcome. This sounds ugly too but it might be faster: build your own MENU resource by hand, and then add it with NewMenu. MENU resources aren't all that complex, just the text of the menu items and the modifiers, and this shouldn't break compatibility, because you'd be using the published format of a resource. I just don't know how much speed this buys you. (And I've never tried it myself, so I might be missing something really obviously wrong...) -- James Moore jamesm@sco.com