Jump to content

Draft:Constant pool

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Vanderwaalforces (talk | contribs) at 10:12, 26 December 2024 (Tagging abandoned Articles for creation draft for speedy deletion under G13 (AFCH)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, a constant pool is a data structure used in the bytecode format of many programming languages. It is used to store the constant values used in a program, such as numbers, strings, and references. Constant pools are used in Python, Java's virtual machine (also used by Scala, Kotlin, Groovy, and Clojure), Lua, C#'s Common Intermediate Language, BEAM (used by Erlang, Elixir, and Gleam), Smalltalk, and Squeak.

References