chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH][simple-md5] Enable hashing of big files


From: felix . winkelmann
Subject: Re: [PATCH][simple-md5] Enable hashing of big files
Date: Mon, 16 Dec 2024 10:56:58 +0100

> @Felix: I think the manual can improve the wording here a bit.
> It states:
>
> "scheme-pointer is typically used to get a pointer to the raw byte
>  content of bytevectors. But if you pass in a SRFI-4 vector, you will
>  get a pointer to a bytevector object header (not the bytevectors's
>  contents), which is almost certainly wrong. Instead, convert to a
>  bytevector beforehand, or use a SRFI-4 specific type."
>
> This is a bit misleading/confusing - you can pass u8vector because
> that's equivalent to bytevector and directly encoded.  Only the other
> srfi-4 types have wrapper objects.
>

Will do.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]