I did a test run with a system profiler and I see this:
--8-
CPU: Core 2, speed 2001 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask
of 0x00 (Unhalted core cycles) count 10
%symbol name
24.5102 void
On Monday, 23 April 2012 at 16:45:19 UTC, bearophile wrote:
Do you mean the min of a single item is the item itself?
Yes.
This is right, but this case is better (more handy) left as
function overload to ask for the min of a single given iterable.
Would this transparantly work for an item
I'm afraid that you not are the first that did a DCPU-16 emulator in D :
https://github.com/Zardoz89/DEDCPU-16
Just now, I can't update because I have now the final examinations. I had
scheduled a comple rewrite to get a better cycle count and timming acurracy
and adding a real I/O support.
Famous:
bearophile:
Do you mean the min of a single item is the item itself?
Yes.
This is right, but this case is better (more handy) left as
function overload to ask for the min of a single given
iterable.
Would this transparantly work for an item and a set consisting
of one item?
I