Optimizing a function over multiple types for its arguments

Chaitanya Gupta mail at chaitanyagupta.com
Tue Nov 28 05:30:58 UTC 2017


Hi Mark,

On 28 November 2017 at 01:51, Mark Cox <markcox80 at gmail.com> wrote:
> G'day Chaitanya,
>
>
> On Tue, Nov 28, 2017 at 12:19 AM, Chaitanya Gupta <mail at chaitanyagupta.com>
> wrote:
>>
>> While I was working on qbase64[1], I stumbled over a peculiar problem:
>> I wanted it to work as fast as possible when optimized array types
>> (SIMPLE-ARRAY, SIMLPE-BASE-STRING, etc.) were passed to the
>> encoding/decoding routines, but I also wanted to support the more
>> general types.
>>
>
>
> I have written two libraries to try and deal with this problem:
>
> [1] https://github.com/markcox80/template-function
> [2] https://github.com/markcox80/specialization-store
>
> There are other related projects as well:
>
> [3] https://github.com/guicho271828/inlined-generic-function
> [4] https://github.com/cosmos72/cl-parametric-types
>

This is excellent! Just what I was looking for.

Thanks,
Chaitanya



More information about the pro mailing list