{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,5]],"date-time":"2026-11-05T03:48:11Z","timestamp":1793850491656,"version":"4.6.1"},"reference-count":24,"publisher":"Wiley","issue":"12","license":[{"start":{"date-parts":[[2006,10,30]],"date-time":"2006-10-30T00:00:00Z","timestamp":1162166400000},"content-version":"vor","delay-in-days":3986,"URL":"http:\/\/onlinelibrary.wiley.com\/termsAndConditions#vor"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Softw Pract Exp"],"published-print":{"date-parts":[[1995,12]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Programming languages generally provide a \u2018string\u2019 or \u2018text\u2019 type to allow manipulation of sequences of characters. This type is usually of crucial importance, since it is normally mentioned in most interfaces between system components. We claim that the traditional implementations of strings, and often the supported functionality, are not well suited to such general\u2010purpose use. They should be confined to applications with specific, and unusual, performance requirements. We present \u2018ropes\u2019 or \u2018heavyweight\u2019 strings as an alternative that, in our experience leads to systems that are more robust, both in functionality and in performance.<\/jats:p><jats:p>Ropes have been in use in the Cedar environment almost since its inception, but this appears to be neither well\u2010known, nor discussed in the literature. The algorithms have been gradually refined. We have also recently built a second similar, but somewhat lighter weight, C\u2010language implementation, which is included in our publically released garbage collector distribution. We describe the algorithms used in both, and give some performance measurements for the C version.<\/jats:p>","DOI":"10.1002\/spe.4380251203","type":"journal-article","created":{"date-parts":[[2006,11,17]],"date-time":"2006-11-17T17:30:48Z","timestamp":1163784648000},"page":"1315-1330","source":"Crossref","is-referenced-by-count":52,"title":["Ropes: An alternative to strings"],"prefix":"10.1002","volume":"25","author":[{"given":"Hans\u2010J.","family":"Boehm","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Russ","family":"Atkinson","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Michael","family":"Plass","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"311","published-online":{"date-parts":[[2006,10,30]]},"reference":[{"key":"e_1_2_1_2_2","unstructured":"The garbage collector and cord package can be retrieved fromparcftp.xerox.com\/pub\/gc\/gc.tar.Z."},{"key":"e_1_2_1_2_3","unstructured":"A brief description can be found inparcftp.xerox.com\/pub\/gc\/gc.html."},{"key":"e_1_2_1_3_2","doi-asserted-by":"publisher","DOI":"10.1145\/63526.63527"},{"key":"e_1_2_1_4_2","volume-title":"Searching and Sorting","author":"Knuth D.","year":"1973"},{"key":"e_1_2_1_5_2","first-page":"248","volume-title":"Proceedings of the 21st Annual Symposium on Foundations of Computer Science","author":"Bent Samuel W.","year":"1980"},{"key":"e_1_2_1_6_2","unstructured":"H.BoehmandW.Zwaenepoel \u2018Parallel attribute grammar evaluation\u2019 Proceedings of the 7th International Conference on Distributed Computing Systems September1987 pp.347\u2013355."},{"key":"e_1_2_1_7_2","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611970265"},{"key":"e_1_2_1_8_2","doi-asserted-by":"crossref","unstructured":"D.SleatorandR.Tarjan \u2018Self\u2010adjusting binary trees\u2019 Proceedings Fifteenth Annual ACM Symposium on Theory of Computing 1983 pp.235\u2013245.","DOI":"10.1145\/800061.808752"},{"key":"e_1_2_1_9_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380180902"},{"key":"e_1_2_1_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/155090.155109"},{"key":"e_1_2_1_11_2","unstructured":"C.Hauser C.Jacobi M.Theimer B.WelchandM.Weiser \u2018Using threads in interactive systems: a case study\u2019 Xerox PARC Technical Report CSL\u201093\u201016 CD. This is a CD\u2010ROM containing both a paper and a Cedar system that can be run under SunOS. Source code is included for much of the system including the Rope package."},{"key":"e_1_2_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/321203.321207"},{"key":"e_1_2_1_13_2","volume-title":"The SNOBOL4 Programming Language","author":"Griswold R. E.","year":"1971"},{"key":"e_1_2_1_14_2","volume-title":"Report STAN\u2010CS\u201073\u2013373","author":"Vanlehn Kurt A.","year":"1973"},{"key":"e_1_2_1_15_2","volume-title":"CLU Reference Manual","author":"Liskov B.","year":"1981"},{"key":"e_1_2_1_16_2","volume-title":"The Implementation of the Icon Programming Language","author":"Griswold R. E.","year":"1986"},{"key":"e_1_2_1_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/363427.363444"},{"key":"e_1_2_1_18_2","doi-asserted-by":"crossref","unstructured":"Eugene W.Myers \u2018Efficient applicative data types\u2019 Conference Record of the Eleventh Annual ACM Symposium on Principles of Programming Languages January1984 pp.66\u201375.","DOI":"10.1145\/800017.800517"},{"key":"e_1_2_1_19_2","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(89)90034-2"},{"key":"e_1_2_1_20_2","unstructured":"Butler W.Lampson \u2018A description of the Cedar programming language: a Cedar language reference manual\u2019 Xerox PARC Report CSL 83\u201315 December1983(out of print)."},{"key":"e_1_2_1_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/800225.806844"},{"key":"e_1_2_1_22_2","unstructured":"D.Swinehart P.Zellweger R.BeachandR.Hagmann \u2018A structural view of the Cedar programming environment\u2019 Xerox PARC Report CSL 86.1 June1986."},{"key":"e_1_2_1_23_2","first-page":"44","volume-title":"A tour through Cedar","author":"Teitelman W.","year":"1984"},{"key":"e_1_2_1_24_2","volume-title":"Systems Programming in Modula\u20103","author":"Nelson Greg","year":"1991"}],"container-title":["Software: Practice and Experience"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/api.wiley.com\/onlinelibrary\/tdm\/v1\/articles\/10.1002%2Fspe.4380251203","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/pdf\/10.1002\/spe.4380251203","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,10,26]],"date-time":"2023-10-26T18:12:54Z","timestamp":1698343974000},"score":1,"resource":{"primary":{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/10.1002\/spe.4380251203"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1995,12]]},"references-count":24,"journal-issue":{"issue":"12","published-print":{"date-parts":[[1995,12]]}},"alternative-id":["10.1002\/spe.4380251203"],"URL":"https:\/\/doi.org\/10.1002\/spe.4380251203","archive":["Portico"],"relation":{},"ISSN":["0038-0644","1097-024X"],"issn-type":[{"value":"0038-0644","type":"print"},{"value":"1097-024X","type":"electronic"}],"subject":[],"published":{"date-parts":[[1995,12]]}}}