Feature #1583
New fn ElapsedTimeFrom?
Description
Now that we have both CpuTime
and ElapsedTime
, should we also have ElapsedTimeFrom
?
Related issues
History
#1 Updated by John Abbott about 3 years ago
Currently CpuTime
and ElapsedTime
return rational numbers (representing seconds).
There is a risk that if someone uses ElapsedTimeFrom
with argument corresponding to a CpuTime
value then a "meaningless" value may be produced.
One way to avoid this would be to use tags or records to encapsulate the values from CpuTime
and ElapsedTime
.... but that would not be backward compatible.
#2 Updated by Anna Maria Bigatti about 3 years ago
- Related to Bug #1553: Timing SystemCommand added
#3 Updated by John Abbott over 2 years ago
- Target version changed from CoCoA-5.4.0 to CoCoA-5.4.2
#4 Updated by John Abbott about 1 month ago
I'm tempted to reject this. Yes, there is the risk mentioned in the description, but it is not so serious -- if necessary, we can improve the documentation.
Currently, I cannot think of any great use for ElapsedTime
... I suppose I must have added it for a reason...