(menu.info)Section 2.3


Prev: Section 2.2 Up: Chapter 2
Enter node , (file) or (file)node

2.3 Optimization of menu tree: hints
====================================

If 'hint_optimize=true' has been set in a menu-method script (actually,
that definition should appear in the '!include'-ed 'menu.h' file), then
install-menu will try to alter the menu tree, to make every submenu have
about the optimum number of menu entries (as specified by
'hints_nentry=...').  It will do that by removing under-full submenus
(only if the 'parent' of that submenu isn't itself already overfull),
and by possibly creating new submenus, using hints.  Note, however, that
the optimization of the tree takes in principle exponential time, so
menu speeds up the process, at the expense of occasionally not finding
the best tree.  So, the tree you are presented with may not be optimal.
For tuning variables, see the hint_* variables in the last chapter.


automatically generated by info2www version 1.2.2.9