~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Work-in-place - Wikipedia

<<Up     Contents

Work-in-place

Redirected from In-place

In computer science, algorithms work-in-place if they transform a data structure without requring extra memory (or disk) space. The input is overwritten with the output.

For example, sorting algorithms that can rearrange arrays into a desired order in-place include:

In computational complexity theory, in-place algorithms have O(1) space complexity.

Functional programming languages often discourage or don't support in-place algorithms that overwrite data (rather than merely constructing new data). This is a type of side effect. Note that it is possible in principle to carefully construct in-place algorithms that don't modify data (unless the data is no longer being used), but this is rarely done in practice. See purely functional data structures[?].

wikipedia.org dumped 2003-03-17 with terodump




 
 
30 gram picture MOONSTONE feldspar orthoclase gem Cab cabochon raw rough jewelry gemstone 154 carat
 30 gram picture MOONSTONE feldspar orthoclase Cab cabochon raw jewelry 154 carat 
 
100 carats Green PERIDOTS gem stones included rough tumbled polished jewelry gemstones lot 20 grams
 100 carats Green PERIDOTS included tumbled polished jewelry lot 20 grams 
 
25 carat PURPLE Russian CHAROITE gemstone Loose hand polished jewelry gem stone piece 5 gram PRETTY
 25 carat PURPLE Russian CHAROITE Loose hand polished jewelry piece 5 gram PRETTY 
 
14 carat blue gray sapphire MOONSTONE feldspar orthoclase gem Cab cabochon jewelry gemstone 15x13 mm
 14 carat blue gray sapphire MOONSTONE feldspar orthoclase Cab cabochon jewelry 15x13 mm 
 
17 gr Arizona pink red yellow PETRIFIED WOOD gem Cab lapidary rough tumble polished cabbing gemstone
 17 gr Arizona pink red yellow PETRIFIED WOOD Cab lapidary tumble polished cabbing