Interning (computer science)
id:
interning-computer-science-175-13931465
title:
Interning (computer science)
text:
In computer science, interning is re-using objects of equal value on-demand instead of creating new objects. This creational pattern is frequently used for numbers and strings in different programming languages. In many object-oriented languages such as Python, even primitive types such as integer numbers are objects. To avoid the overhead of constructing a large number of integer objects, these objects get reused through interning. For interning to work the interned objects must be immutable, s
brand slug:
wiki
category slug:
encyclopedia
description:
Data structure for reusing strings
original url:
https://en.wikipedia.org/wiki/Interning_(computer_science)
date created:
2021-11-04T15:30:01Z
date modified:
2024-09-03T19:45:36Z
main entity:
{"identifier":"Q110469595","url":"https://www.wikidata.org/entity/Q110469595"}
image:
fields total:
13
integrity:
15