dandv 0 Report post Posted July 20, 2005 Have a file called 'file1234.bug' and another one called 'file12345.bug'. In NDN.EXT, create the following entry: bug [>1 Menu item 1 Â Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 Â Â >1 Menu item 1 Â Â echo menu item 1 ] Press Alt+Home on both file and notice the difference in speed, which is proportional to the number of menu items. I'm very curious as to why this happens! My wild guess is that some macros like %X are expanded beforehand? If you have files with LFNs in the current dir, pressing F2 to launch the user menu will also be very slow (3 seconds on a 3.2GHz machine for building a menu from a <5k file) Hope that helps, Dan Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted July 28, 2005 hi! i cannot see any special time delays on the default NDN menu files or your example with the extension file but, it's very possible that a bigger menu file delays longer, as every line will be parsed for expandable macros, which is 'heavy' work on strings for every line there's nothing much to do here i am afraid Stefan / AH Share this post Link to post Share on other sites
dandv 0 Report post Posted July 29, 2005 Uhm, nope: but, it's very possible that a bigger menu file delays longer, as every line will be parsed for expandable macros, which is 'heavy' work on strings for every line The same menu (F2) takes longer if you press F2 over a file with more than 11 chars vs. a file with less than 11 chars. there's nothing much to do here i am afraid Well this didn't happen in 2.15.3822. Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted July 29, 2005 hi dan! can you play around with the menu file? or send it to me so i can test myself? Stefan / AH Share this post Link to post Share on other sites
dandv 0 Report post Posted July 30, 2005 Here it is: http://home.arcor.de/stasis/ndn.mnu Share this post Link to post Share on other sites