
Avaya Media Processing Server Series System Reference Manual
Page 172 # P0602477 Ver: 3.1.11
Using Hash Tables
To improve access time to vocabulary MMF files, the VMM process creates a hash
table. The following example illustrates this concept:
A Lotto application that runs on four phone lines (1-4) uses the lotto MMF
file. The elements within the file may be located on disk or in voice memory.
The application accesses the file through a hash table.
Application-specific hash tables are created using the following command, which
must be issued before those applications are started. If this command is not used, the
VMM process automatically generates the hash tables and sets the hashfirst
sequence to first search the system-wide hash tables.
To change the hash table lookup sequence for an application, enter the following
command. local indicates the application looks to its own hash table first: system
instructs it to use initially the system wide hash table. If an element is not found in
one, the other is then searched.
vmm appinit <application name>
vmm hashfirst <application name>,{system | local}
12 34
Lotto Application
lotto
Hash Table
1.Greeting
2.You Win
3.You Lose
4.Play Again
Basic Hash Table Schematic
Komentáře k této Příručce