On 11/2/18 1:06 PM, Jürgen Spitzmüller wrote:
> Am Freitag, den 02.11.2018, 11:18 -0400 schrieb Richard Kimberly Heck:
>> On 11/2/18 4:36 AM, Jürgen Spitzmüller wrote:
>>> Am Donnerstag, den 01.11.2018, 19:24 +0200 schrieb Guy Rutenberg:
>>>> I've followed the suggestion and now it runs much faster. See my
>>>> attached patch.
>>> I was rather thinking of something like the attached.
>> This will be significantly slower.
> Go ahead with whatever you see fit!

I've been looking a fair bit at some of the utility routines, like
find_layout, and they are not optimized, to put it kindly. So code that
calls them can be surprisingly slow. I'm going to try to optimize some
of them, but it would be really useful to have a test framework before
attempting that. Otherwise, it is too likely I break something.

For now, any code that looks like it might be slow should probably avoid
calling library routines as much as possible. This is the second recent
bite of this kind.

Riki


Reply via email to