Abstract
An algorithm is in-place, or runs in-situ, when it does not need any additional memory to execute beyond a small constant amount. There are many algorithms that are efficient because of this feature, therefore it is an important aspect of an algorithm. In most programming languages, it is not obvious when an algorithm can run in-place, and moreover it is often not clear that the implementation respects that idea. In this paper we study interaction nets as a formalism where we can see directly, visually, that an algorithm is in-place, and moreover the implementation will respect that it is inplace. Not all algorithms can run in-place however. We can nevertheless still use the same language, but now we can annotate parts of the algorithm that can run in-place. We suggest an annotation for rules, and give an algorithm to find this automatically through analysis of the interaction rules.
| Original language | English |
|---|---|
| Pages (from-to) | 15-24 |
| Number of pages | 10 |
| Journal | Electronic Proceedings in Theoretical Computer Science, EPTCS |
| Volume | 225 |
| DOIs | |
| Publication status | Published - 10 Sept 2016 |
| Event | 9th International Workshop on Computing with Terms and Graphs, TERMGRAPH 2016 - Eindhoven, Netherlands Duration: 8 Apr 2016 → … |
Fingerprint
Dive into the research topics of 'In-place graph rewriting with interaction nets'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver