"primitive"的翻译 使用英语:


  字典 中国人-英语

  例子 (外部来源,未经审查)

In the tradition of PHP, arrays and hashtables may pretty much be used interchangably. Note that hashtables in PHP may only be indexed by integers or strings and that arrays of primitive types in Java can not be sparse. Also note that these constructs are passed by value, so may be expensive in terms of memory and time.
The primary advanatage of this from a PHP perspective is that web servers which support servlets typically take great care in pooling and reusing JVMs.