String interning
Data structure for reusing strings
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-efficient or space-efficient at the cost of using more time when the string is created or interned.
Nº Q4383552 ★
Commune · Histoire
String interning
Data structure for reusing strings
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-efficient or space-efficient at the cost of using more time when the string is created or interned.
Dernier prix
—
Prix plancher
—
Médiane 7 j
—
Ventes 30 j
0
Fourchette 30 j
—
En circulation
0
Cours
médiane
min – max
ventes
Aucune vente sur la période
Voir le tableau
| Date | médiane | Min | Max | ventes |
|---|
Historique des ventes
- Dernière vente
- —
- Moyenne 30 j
- —
- Plus bas 30 j
- —
- Plus haut 30 j
- —
- Ventes 7 j
- 0
- Ventes 30 j
- 0
Aucune vente pour l'instant.
Ventes anonymes : ni acheteur ni vendeur. Les chiffres ne comptent que les ventes entre joueurs.
Sur Wikipédia
Texte en anglais Pas encore d'article dans ta langue : extrait en anglais.
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-efficient or space-efficient at the cost of using more time when the string is created or interned. The distinct values are stored in a string intern pool. The one 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 Java, Python, PHP (since 5.4), Lua and .NET languages. Lisp, Scheme, Julia, 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. Objective-C selectors, which are mainly used as method names, are interned strings. Objects other than strings can be interned. For example, in Java, when primitive values are boxed into a wrapper object, certain values (any boolean, any byte, any char from 0 to 127, and any short or int between −128 and 127) are interned, and any two boxing conversions of one of these values are guaranteed to result in the same object.
Texte : Wikipédia en anglais, CC BY-SA 4.0. ·
Cartes voisines
-
sous-chaîne
Sous-séquence continue des éléments d'une chaîne
Nº Q2626534 ★
Pas en vente
-
N
Null-terminated string
Character string terminated by the null byte (0x00); used in e.g. the C programming language
Nº Q9357437 ★
Pas en vente
-
B
Burstsort
Cache-efficient algorithm for sorting strings
Nº Q5000665 ★
Pas en vente
-
S
Segment de données
Protocole réseau
Nº Q491179 ★
Pas en vente
-
C
Constant folding
Nº Q2342581 ★
Pas en vente
-
C
C++ string handling
Class in the C++ standard library that represents a string of characters
Nº Q7623901 ★
Pas en vente