Project

General

Profile

Design #1370

RingID counter increased inside some functions

Added by John Abbott over 4 years ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Improving
Target version:
Start date:
25 Nov 2019
Due date:
% Done:

0%

Estimated time:
Spent time:

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

Also available in: Atom PDF