[cl-plus-ssl-devel] CL+SSL and stream-write-sequence
Anton Vodonosov
avodonosov at yandex.ru
Tue Mar 19 11:03:04 UTC 2013
19.03.2013, 14:44, "Anton Vodonosov" <avodonosov at yandex.ru>:
> 19.03.2013, 14:18, "Hans Hübner" <hans.huebner at gmail.com>:
>> Instead, it would be better if CL+SSL dispatched on the sequence type and applied the optimized version simple arrays only if applicable.
> [...]
>
> I think if the sequence is not a simple array, cl+ssl can copy it into a simple-array.
Or, as you suggest, only provide stream-write-sequence stream-read-sequence only
for simple-array sequences. In this case for other sequences it will rely onto the
default implementation copying data byte by byte.
More information about the cl-plus-ssl-devel
mailing list