Examination of relative efficacy in computational search techniques

Authors

  • Arif Hasan Abd Ali Department of Software, College Electrical and Computer Engineering, Urmia University, Iran

DOI:

https://doi.org/10.29304/jqcsm.2026.18.12395

Keywords:

Hash Search, Ternary Search, Exponential Search, and Interpolation Search, Python and evaluating.

Abstract

In communication and transaction systems, searching is a crucial procedure, and there are several techniques available to maximize data retrieval. These include the well-known techniques for effective searching in sorted datasets: Hash Search, Ternary Search, Exponential Search, and Interpolation Search. By putting these four algorithms into practice in Python and evaluating their search effectiveness on artificial datasets made up of sorted arrays of distinct random integers with values ranging from 1 to , where n varies from 1,000 to 1,000,000 items, this study evaluates the performance of these algorithms.  calculated average search durations for existing elements across 100 queries using a pseudo-process technique with timed code execution. Because they are deterministic exact-match searches, all algorithms achieve  accuracy, precision, and recall, and performance data include average search time (in seconds). According to the results, Hash Search performs best with near-constant times of roughly  microseconds, followed by Interpolation Search at 1-2 microseconds, and Ternary and Exponential Searches, which increase with dataset size and vary from 1-4 microseconds. Though newer deep learning techniques, such as learned indexes, may predict data distributions and offer  speedups and 10–100x size reductions in specific database contexts, these classic strategies are still effective for broad use.

Downloads

Download data is not yet available.

References

S. Pushpa and P. Vinod, "Ternary Search Tree Balancing Methods: A Critical Study," International Journal of Computer Science and Network Security, vol. 7, no. 8, pp. 237-243, 2007.

J. Z. Li and H. K. Wong, "Batched Exponential Searching on Databases," in IEEE Third International Conference on Data Engineering, Los Angeles, CA, USA, 1987.

S. Kareem B, "Matrix Search Algorithm Using Ternary Search Trees," Research & Reviews: Journal of Engineering and Technology, vol. 5, no. 2, pp. 1-6, 2016.

N. Arora, G. Bhasin, and N. Sharma, "Two Way Hash Search Algorithm," International Journal of Computer Applications, vol. 107, no. 21, pp. 6-8, 2014.

B. G. Balogun and J. S. Sadiku, "Simulating Ternary Search Technique Using Different Sorting Algorithms," International Journal of Applied Science and Technology, vol. 3, no. 6, pp. 67-75, 2013.

K. K. Pandey and N. Pradhan, "A Comparison and Selection on Basic Type of Searching Algorithm in Data Structure," International Journal of Computer Science and Mobile Computing, vol. 3, no. 7, pp. 751-758, 2014.

V. P. Parmar and C. K. Kumbharana, "Comparing Hash Search and Ternary Search Algorithms to Search an Element from a Linear List Implemented through Static Array, Dynamic Array, and Linked List," International Journal of Computer Applications, vol. 121, no. 3, pp. 13-17, 2015.

A. Mehta, A. Saxena, J. Patel, and A. Thanna, "A Review on Comparison of Search and Hash Search," International Journal of Engineering Sciences & Management Research, vol. 2, no. 10, pp. 85-89, 2015.

Y. Perl and L. Gabriel, "Arithmetic Exponential Search for Alphabet Tables," IEEE Transactions on Computers, vol. 41, no. 4, pp. 493-499, 1992.

G. Marsaglia and B. Narasimhan, "Simulating Exponential Search," Computers & Mathematics with Applications, vol. 26, no. 8, pp. 31-42, 1993.

A. F. Kabeel, A. S. Al-Kaabi, and A. B. El-Nashar, "Performance Enhancement of Solar Still Using Rotating Wick and Ultrasonic Humidification," Desalination, vol. 386, pp. 1-10, 2025.

M. R. Al-Yousef and M. Bidgoli, "A Novel SmartGRU-Based Framework for Earthquake Early Warning Systems," Journal of Earthquake Engineering, vol. 35, no. 6, pp. 215-227, 2025.

J. Hillier, Space Syntax: A Brief Introduction, Cambridge University Press, 1996.

J. S. Thinnakorn, S. Z. Shamsuddin, and D. A. Hillier, "Morphological Changes in Urban Planning: A Case Study of Historic Cities," Journal of Urban Planning, vol. 22, no. 3, pp. 128-140, 2025.

T. Volodina, "Internal Auditing in Financial Institutions: An Overview," Journal of Auditing and Accounting, vol. 40, pp. 82-100, 2022.

Downloads

Published

2026-03-30

How to Cite

Arif Hasan Abd Ali. (2026). Examination of relative efficacy in computational search techniques. Journal of Al-Qadisiyah for Computer Science and Mathematics, 18(1), Comp 372–379. https://doi.org/10.29304/jqcsm.2026.18.12395

Issue

Section

Computer Articles