{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:30:50Z","timestamp":1787340650592,"version":"build-2736575974"},"reference-count":5,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"3","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[1984,8]]},"abstract":"<jats:p>Among the more difficult combinatorial problems in computer science are those occurring in dynamic storage allocation. We investigate the handling of memory conflicts occurring when a request for a block of storage is received, but no one region of available space is large enough due to fragmentation of storage. For arbitrary block sizes, we show that it is NP-hard to find a minimal cost reallocation of memory that will allow insertion of a new block. Therefore, we focus on the \u201cbay restaurant\u201d model studied by Robson, in which requests are for only one or two units of memory. We give a polynomial time algorithm for minimal cost insertions of batches of blocks and for minimal cost memory compaction. We show that the cost of inserting p blocks one at a time, i.e. on-line, is no worse than \\[ \\left\\lfloor 2\\left( \\frac{3}{2} \\right)^{\\lceil \\log p \\rceil } - 1 \\right\\rfloor \\] times the minimal cost of inserting the blocks in one batch, i.e. off-line. For p a power of two, this bound is tight.<\/jats:p>","DOI":"10.1137\/0213037","type":"journal-article","created":{"date-parts":[[2005,2,24]],"date-time":"2005-02-24T06:07:46Z","timestamp":1109225266000},"page":"600-609","source":"Crossref","is-referenced-by-count":2,"title":["Insertion and Compaction Algorithms in Sequentially Allocated Storage"],"prefix":"10.1137","volume":"13","author":[{"given":"B. S.","family":"Baker","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"E. G.","family":"Coffman, Jr.","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,13]]},"reference":[{"key":"R1","volume-title":"Computers and intractability","author":"Garey Michael R.","year":"1979"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1145\/365628.365655"},{"key":"R3","volume-title":"Fundamental Algorithms","author":"Knuth D. E.","year":"1973"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1145\/321650.321658"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1145\/321832.321846"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/0213037","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:42:46Z","timestamp":1787337766000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/0213037"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1984,8]]},"references-count":5,"journal-issue":{"issue":"3","published-print":{"date-parts":[[1984,8]]}},"alternative-id":["10.1137\/0213037"],"URL":"https:\/\/doi.org\/10.1137\/0213037","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[1984,8]]}}}