Design #1370
RingID counter increased inside some functions
Description
Each ring in CoCoALib has a unique ring-ID (machine integer).
Some functions (e.g. syz
) create new rings internally, but these rings are never seen outside the function.
It is a bit strange that the ring-ID counter increases in these functions.
Can we avoid visibly increasing the ring ID counter?
History
#1 Updated by John Abbott over 4 years ago
- Priority changed from Normal to Low
We could perhaps have two counters: one for "user created" rings and one for "internal" rings. Or perhaps just positive/negative counters?
Priority is low because everything works, it is just strange that the counter is increased by some functions.
#2 Updated by Anna Maria Bigatti over 4 years ago
John Abbott wrote:
We could perhaps have two counters: one for "user created" rings and one for "internal" rings. Or perhaps just positive/negative counters?
Ummm, I'm not sure we should consider "internal" rings separately.
A different syntax just for the counter?
Or could that also have another meaning like a super memory-clean at the exit of the function?
#3 Updated by John Abbott over 3 years ago
- Target version changed from CoCoALib-0.99800 to CoCoALib-0.99850
#4 Updated by John Abbott 3 months ago
- Target version changed from CoCoALib-0.99850 to CoCoALib-0.99880