Code space: Difference between revisions

Content deleted Content added
See also: Code point
cleanup according to WP:MOSDAB (overview WP:DABYESNO)
 
(7 intermediate revisions by 6 users not shown)
Line 1:
'''Code space''' may refer to:
In [[computer programming]], '''code space''' is the [[memory]] segment in the main memory allocated to a process to store the code in execution.
 
* Code space, where [[machine code]] is stored in memory address space
In [[multi-threading]] environment, [[threads]] share code space along with data space, which reduces the overhead of [[context switching]] considerably as compared to [[Process (computing)|process]] switching.
* Code space or codespace, the range of [[code point]]s for a character encoding
 
{{disambiguation}}
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 0<sub>hex</sub> to 10FFFF<sub>hex</sub>.<ref>[http://unicode.org/glossary/ Glossary of Unicode Terms]</ref> Each value in the code space is known as a [[code point]].
 
== See also ==
 
* [[Address space]]
* [[Code point]]
 
[[Category:Memory management]]
 
{{Comp-sci-stub}}
 
== Notes ==
 
{{reflist|2}}