This patch set contains the following changes:
- fixes a few regressions introduced by the eleven patch set,
- adds some small performance improvements,
- migrates unique.c to use libc
Note that the last change marks the end of the "demo" build.
I don't think there's a point in fixing it (by adding the libc
functions we use to libbase), since the next round of patch
compiler changes (migration of the upper parts of the compiler
into Flickernoise) will render it useless anyway.
Regarding performance, we're now almost back to the status quo
ante:
status quo ante 4.831 s
after the 11 patch set 5.350 s
after the fixes/optimizations 4.830 s
after switching to libc 4.999 s
When looking for why it isn't faster already, I found that we
have more user-defined identifiers than I had expected. These
slow things down a bit. This problem should largely disappear
once unique.c moves into Flickernoise because I can then clean
up (unique_free) those identifiers at the end of each patch.
- Werner
Werner Almesberger (5):
fpvm.c: renaming decision in fpvm_assign got reversed
libfpvm: add also functions and internal variables to fnp.ids
libfpvm/unique.c: fix grow_table and strcmp_n
libfpvm: don't store non-identifiers in the cache of unique
identifiers
unique.c: use libc functions instead of DIY replacements
software/libfpvm/fnp.ids | 91 ++++++++++++++++++++++++++++++++++++
software/libfpvm/fpvm.c | 4 +-
software/libfpvm/unique.c | 114 ++++++++++++++++-----------------------------
3 files changed, 134 insertions(+), 75 deletions(-)
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode