[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Clean up some code
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Clean up some code |
Date: |
Sun, 23 Sep 2012 22:25:05 +0200 |
User-agent: |
Mutt/1.4.2.3i |
Hi all,
Here are two cleanup patches which take care of things that were in my
notes. The first is a couple of procedures which are simply unused.
Two of those are marked "for binary compatibility", but have been marked
as such for a long time (since 2010). I think we don't need to bump the
binary version since that has already happened a few times in between
and nothing in the new version generates code that uses these procedures.
The second patch removes the last remnants of the unboxing code. The
compiler doesn't generate calls to them anymore, and they're all inlined
procedures or C macros, so I think they can be safely taken out.
There are still quite a few occurrances of the word "box" in the
compiler, though. Can those all be removed? It looks like some type
of boxing still exists, even if not the full boxing/unboxing that was
taken out. Could someone explain the purpose of this?
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
0001-Remove-some-unused-procedures-and-old-binary-compati.patch
Description: Text document
0002-Remove-unboxing-macros-and-inline-procedures-which-a.patch
Description: Text document
- [Chicken-hackers] [PATCH] Clean up some code,
Peter Bex <=