Mastering Complex Loop Patterns with stzCounter

22 views
Skip to first unread message

Mansour Ayouni

unread,
Sep 11, 2025, 9:03:25 AM (3 days ago) Sep 11
to The Ring Programming Language
Hello All,

stzCounter is a small, flexible class that turns tricky loop index logic into simple, declarative configuration.

This is how it looks like:

image.png

Read about it and its practical value in this short narration:

All the best,
Mansour

Bert Mariani

unread,
Sep 11, 2025, 10:49:31 AM (3 days ago) Sep 11
to The Ring Programming Language
Hello Mansour

Interesting concept !
Have you timed it versus the regular method with  various length loops ?
Say  100,000  1 Million  10 Million ...
Is there a lot or minimum overhead ?

Mansour Ayouni

unread,
Sep 11, 2025, 11:58:19 AM (3 days ago) Sep 11
to Bert Mariani, The Ring Programming Language
Hello Bert,

There is some overhead, of course, but it remains reasonable: about 1M iterations in under one second.

In Softanza: 0.90s  
image.png

In raw Ring : 0.20s
image.png

Best,
Mansour

--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/7d5f2736-35e4-49d4-b410-98f5de7f9cefn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages