Jump to content

Code space

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Leszek Jańczuk (talk | contribs) at 10:25, 20 June 2008 (No longer the case). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer programming, code space is the memory segment in the main memory allocated to a process to store the code in execution.

In multi-threading environment, threads share code space along with data space, which reduces the overhead of context switching considerably as compared to process switching.

For a character encoding the code space (or codespace) is the range of numerical values available for encoding characters. For example, Unicode has a code space comprising a range of integers from 0hex to 10FFFFhex.[1] Each value in the code space is known as a code point.

See also

Notes