Custom Query (1630 matches)
Results (31 - 33 of 1630)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1773 | wontfix | Idea: numeric dispatch with switch | ||
Description |
Just a note to myself so I don't forget:
Get rid of the nested ifs in number dispatch by combining the headers of objects and then dispatching on the result using The mechanics would be a little bit ugly but possibly it's faster. Even if it isn't faster, it might be more readable. Something like: switch(COMBINE_TYPES(a, b)) { case FIXNUM_FIXNUM: blabla break; case FIXNUM_FLONUM: blabla break; .... } |
|||
#1772 | fixed | importing the same module over and over eats up more and more memory | ||
Description |
Reported by "plugd" on IRC: (import (chicken string) (chicken gc) (chicken io)) (let loop () (print (conc "Memory statistics: " (memory-statistics))) (eval '(begin (import (chicken string)) (print "Hello."))) (read-line) (loop)) I checked, and CHICKEN 4 also exhibits this behaviour, so it's not something new we recently introduced (as I remember we've been putting some effort into optimizing library imports) |
|||
#1771 | fixed | Except specificier in imports | ||
Description |
Note: this is with the patch for #1757 applied, for the future 5.3.0. Here is the issue. If this is an egg, cakes.scm: (module cakes () (import scheme (chicken module) match-generics) (reexport
cakes.egg
And here is a file that uses that egg:
The expected behavior is for this to bork or crash. Instead it evals to 40, as if we had imported
|