| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (11 out of 14)

Effect of Using System Procedures

This test compare the system procedure g2-array-copy with an equivalent array copy procedure written as a G2 procedure. The test array is a float-array of length 100. For the system procedure approach, the test includes the time needed to call the system procedure from a G2 procedure. The result is:

Results for other system procedures are similar. Thus, you should always use system procedures when they are available instead of writing your own implementations at the KB level.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (11 out of 14)

Copyright © 1997 Gensym Corporation, Inc.