Re: [PATCH v2] slof/engine.in: refine +COMP and -COMP by not using COMPILE

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

 



Hi,

> 
> Is this optimization even measurable? :)
> 
> There is one thing which SLOF could do much faster (seconds or tens of seconds) - it is PCI scan where SLOF walks through all busses and slots even though it is all in the device tree already. But this "dotick" business does not scream for optimization imho. Thanks,

Yeah. In nanoseconds per control statement pair as per the benchmarking
in the emails before. For 45 IF-THEN and IF2-THEN2 statements I achieved
an improvement of around 35 microseconds on an average.
Nothing much but I just thought it is an interesting change considering
most of the Forth compiler is fine. I was just reading through the
Forth compiler in slof/engine.in and saw this and decided to post it out
of interest.

But I will abandon this patch now as you feel that this is not enough to
warrant any change in slof/engine.in. Thanks anyway!




[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux