Issue title: Switch to garbage collection.
 Issue body: Radare2 currently calls a lot of pairs malloc/free, causing switching the context ETOOOFTEN. What about considering to use garbage collection instead?

Something like https://github.com/orangeduck/tgc
 Comments: 
 Comment 0: ![doom_slayer_no](https://user-images.githubusercontent.com/5904302/136669430-f63a0465-cb30-47b5-9654-87060a70c101.jpeg)

{'source': 'GithubIssues', 'repo_name_with_owner': 'radare/radare2', 'issue_id': 454076386, 'repo_stars': 11460.0}