On Tue, Oct 09, 2012 at 05:03:13AM -0400, Felix wrote: > The attached patch replaces the fundamental mutation primitive > "C_mutate" with an inline-variant that does the immediateness check of > the assignmend value at the call site (I hope). The old variant is > still available for binary compatibility, but has been obsoleted. > > I think this was originally suggested by Joerg Wittenberger.
Thanks, pushed. I ran the chicken-benchmarks on it, and it turns out that especially the first few benchmarks are a bit faster. Other than that, there are a few minor differences (compilation time seems to have gone up a bit). The takr benchmark is almost twice as slow with this patch, though! Could be a coincidence, because when run separately on the commandline there's not much of a difference. 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 _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
