Print Page | Close Window

Options to linear CXTPReportRecords Search?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17724
Printed Date: 26 June 2024 at 10:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Options to linear CXTPReportRecords Search?
Posted By: Algae
Subject: Options to linear CXTPReportRecords Search?
Date Posted: 23 December 2010 at 1:37pm
In the Report code I noticed there are several instances where the report record arrays use a linear search for finding a particular record. Is there any other search/find method available?

Linear search is painfully slow and it seems if you have a "sorted" list of records you should be able to use something else like bsearch.

Is another search/find method included in the source somewhere or does anyone have an alternate search method they can share?





Replies:
Posted By: Algae
Date Posted: 24 December 2010 at 3:14pm
I added one already but wondered if there was one already included somewhere in the toolkit that was more generic than mine.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net