Numeric Representation of Strings: An Optimized Approach to Lexical-Comparisons

Absurd as it may seem, but strings can be treated as numbers for computation purposes. Most computer programs make extensive use of String operations like string-matching or sub-string lookups. Computer systems represent each character of a string with a numeric code. I take this concept further by applying it to arbitrary strings and explore the performance advantages of representing strings numerically. This paper presents a considerably faster approach for arbitrary String Lexicographic Comparisons and substring lookups. It introduces the concept of String-Numbers, which are arbitrary Strings represented by unsigned numbers. I validate my theory by running performance tests, which prove that String-Number based operations outperform contemporary string operations for a variety of String based algorithms. Test Results confirm the speed improvements delivered by String-Numbers in the areas of Searching, Sorting, Substring-Lookups and String-Matching.

Authors

Institutions

Publication Details

Published
2024-12-20
DOI
https://doi.org/10.1109/acai63924.2024.10899576
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Numeric Representation of Strings: An Optimized Approach to Lexical-Comparisons

Vikram Singh Warraich
Natural Language Processing Techniques
article

Numeric Representation of Strings: An Optimized Approach to Lexical-Comparisons

Vikram Singh Warraich
article en

Abstract

Absurd as it may seem, but strings can be treated as numbers for computation purposes. Most computer programs make extensive use of String operations like string-matching or sub-string lookups. Computer systems represent each character of a string with a numeric code. I take this concept further by applying it to arbitrary strings and explore the performance advantages of representing strings numerically. This paper presents a considerably faster approach for arbitrary String Lexicographic Comparisons and substring lookups. It introduces the concept of String-Numbers, which are arbitrary Strings represented by unsigned numbers. I validate my theory by running performance tests, which prove that String-Number based operations outperform contemporary string operations for a variety of String based algorithms. Test Results confirm the speed improvements delivered by String-Numbers in the areas of Searching, Sorting, Substring-Lookups and String-Matching.

Broadcom (United States) (US)
Openalex Percentile: Top 75%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Numeric Representation of Strings: An Optimized Approach to Lexical-Comparisons — Vikram Singh Warraich · (2024) | TGRS Research Map | TGRS