× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello David,

>I don't know where you find this stuff, so I can't go look myself, but
>if you know off hand, I would be interested in whether the  the data
>queue sorted on every dequeue or only on a dequeue with when after an
>entry has arrived?

I 'know' this stuff 'cause I've seen some of the code -- a very long time
ago now I used to write parts of OS/400 for IBM.  I also had an involved
discussion with one of the developers when the RISC systems arrived
because the company I was working for at the time had a performance
problem due to filling the queue before starting the reader.  That's how I
know the timing of the sort changed.

I'm fairly sure the sort occurs only if new entries have arrived between
dequeue operations.

>Also, do you know whether the whole entry is sorted rather than just the
>key? Maybe that is why I could not recognize a difference between sorted
>data queues and a user index.

I believe the entire entry is moved around but the sort is performed only
on the key length.  I'd need to write code and play to be sure -- as I
said it's been a VERY long time.

Regards,
Simon Coulter.

--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists
   http://www.flybynight.com.au/

   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.