Amazon VERSION 2.0V1 Guia do Utilizador Página 48

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 47
48
Paths Versus Rules
CEL has a number of optimizations for dealing with explicit lists of paths. This means using paths are the best way of
working in many cases, and matching against paths is generally very efficient as long as the list of paths isn't too
long.
As a general rule it's more efficient to use explicit lists of paths than active rules for up to around
100 paths. If you have explicit lists with many thousands of paths you can run into efficiency issues where it may be
very worthwhile using rules with wild-cards instead.
'Select and Collect' operations are always more efficient with an explicit path list.
Use Differences Between CEL Statements Cautiously
Taking the difference between two CEL statements can be expensive. In particular if two CEL statements are made
up of paths when you take the difference it's no longer treated as a simple path list so won't use the special
optimizations for pure path lists.
Single nodes with complex difference based CEL statements can often be more efficiently replaced by a number of
nodes with simpler CEL statements.
7 SCENE ATTRIBUTES AND HIERARCHY | GUIDELINES FOR USING CEL
Vista de página 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 263 264

Comentários a estes Manuais

Sem comentários