Re: Bounded structures?

"Bernd Schoeller" <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Organization Comerge AG
Message-ID <op.ud2hbdp2olvcyz@lcp>
On Wed, 09 Jul 2008 17:26:27 -0000, Eric Bezault <[email protected]>  
wrote:

> Bernd Schoeller wrote:
>> Perhaps I missed it, but are any of the structures available in GOBO   
>> bounded? Is there a concept of "bounded" in any abstraction?
>>  I would need some bounded structures (mostly ring buffer) for some  
>> stuff  that I am currently writing.
>
> No bounded containers available in Gobo, they can all be resized.

Ok, then I will cook up something myself. I need a fast ring-buffer  
implementation, based on an array and two indexes. I am not sure if it  
could be an addition to GOBO, as it would live outside of the general  
structure hierarchie, because of its bounded-ness.

Bernd

-- 
Bernd Schoeller, PhD, CTO
Comerge AG, Technoparkstrasse 1, CH-8005 Zurich, Switzerland

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.