A simple, fast, automatic reference counting type system
Go to file
2018-02-11 18:48:49 -06:00
.gitignore license 2016-04-24 23:03:45 -06:00
deque.c initial add 2016-04-24 22:14:47 -06:00
deque.h initial add 2016-04-24 22:14:47 -06:00
LICENSE.md license 2016-04-24 23:03:45 -06:00
Makefile fix position independent code 2018-02-11 18:48:00 -06:00
README.md license 2016-04-24 23:03:45 -06:00
refuse.c patches for linux clang 2017-10-06 12:10:11 -06:00
refuse.h require consumers to supply their own instance of the collector, initialize it 2016-04-26 22:07:37 -06:00
tests.c comment out failing assertion 2018-02-11 18:48:49 -06:00
types.h initial add 2016-04-24 22:14:47 -06:00

Refuse

Refuse is an implementation of a garbage collector based on the idea of deferring increments, allocating new objects as dead (reference count = 0), and only marking objects as live, as references can be found. Additionally, the object header to be used with the collector is packed for compactness. These three things, should help increase performance substantially over standard reference count garbage collectors.

License

Copyright (c) 2016, Jeremy Tregunna. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.