guile-user
[Top][All Lists]
Advanced

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

Re: Hash table read syntax in guile 2.0


From: Daniel Hartwig
Subject: Re: Hash table read syntax in guile 2.0
Date: Mon, 18 Feb 2013 13:11:21 +0800

On 18 February 2013 11:28, Hengqing Hu <address@hidden> wrote:
> Here it is:
>
> https://github.com/hudayou/fib
>
> Welcome your suggestions!

Please see the attached patch.

For remove-unrelated-blocks, building the hash-tree may be suboptimal
and I suspect could be avoided altogether, but I have not investigated
the rest of the program enough to determine this.  At the final part
it is *important* to check every element in the hash-table in case of
processing bugs, assumptions about size are dangerous to make here,
and probably save very little processing time on average.

pretty-show would not output anything when given an empty hash table,
so no need to avoid it there.

Attachment: 0001-remove-hash-length.patch
Description: Binary data


reply via email to

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