Hi! Andy Wingo <wi...@pobox.com> writes:
>> These specialized subr types allow for faster dispatch, as opposed to >> the argument count checks (and argument copies) that are done in >> `scm_i_gsubr_apply ()'. Thus, I think replacing all of them with gsubrs >> may have a negative impact performance-wise. > > That might be true with the current implementation, but it need not be > true with dispatch in the VM. The specialized subr types don't actually > gain us anything; you can do a gsubr dispatch just as fast, comparing > the tc16 instead of the tc7. Hmm yes, you're right. In the end you still have to compare something and somehow handle optional and rest arguments. Maybe you could try to run `subr.bm' in your branch to see how it goes. Thanks, Ludo'.