String Interning

String Interning

Edited by 

List price: US$51.00

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In computer science, string interning is a method of storing only one copy of each distinct string value, which must be immutable. Interning strings makes some string processing tasks more time- or space-efficient at the cost of requiring more time when the string is created or interned. The distinct values are stored in a string intern pool. The single copy of each string is called its 'intern' and is typically looked up by a method of the string class, for example String.intern() in Java. All compile-time constant strings in Java are automatically interned using this method. String interning is supported by some modern object-oriented programming languages, including Python, Ruby, Java and .NET languages. Lisp, Scheme, Ruby, and Smalltalk are among the languages with a symbol type that are basically interned strings. The library of the Standard ML of New Jersey contains an atom type that does the same thing.show more

Product details

  • Paperback | 116 pages
  • 152 x 229 x 7mm | 181g
  • Salv
  • United States
  • English
  • black & white illustrations
  • 6135629379
  • 9786135629378