Performance Evaluation of Bitstring Representations in a Linear Genetic Programming Framework

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Meli, Clyde, Nezval, Vitezslav, Oplatkova, Zuzana Kominkova, Buttigieg, Victor, Staines, Anthony Spiteri
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914136983601152
author Meli, Clyde
Nezval, Vitezslav
Oplatkova, Zuzana Kominkova
Buttigieg, Victor
Staines, Anthony Spiteri
author_facet Meli, Clyde
Nezval, Vitezslav
Oplatkova, Zuzana Kominkova
Buttigieg, Victor
Staines, Anthony Spiteri
contents Different bitstring representations can yield varying computational performance. This work compares three bitstring implementations in C++: std::bitset, boost::dynamic_bitset, and a custom direct implementation. Their performance is benchmarked in the context of concatenation within a Linear Genetic Programming system. Benchmarks were conducted on three platforms (macOS, Linux, and Windows MSYS2) to assess platform specific performance variations. The results show that the custom direct implementation delivers the fastest performance on Linux and Windows, while std::bitset performs best on macOS. Although consistently slower, boost::dynamic_bitset remains a viable and flexible option. These findings highlight the influence of compiler optimisations and system architecture on performance, providing practical guidance for selecting the optimal method based on platform and application requirements.
format Preprint
id arxiv_https___arxiv_org_abs_2511_02897
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Performance Evaluation of Bitstring Representations in a Linear Genetic Programming Framework
Meli, Clyde
Nezval, Vitezslav
Oplatkova, Zuzana Kominkova
Buttigieg, Victor
Staines, Anthony Spiteri
Neural and Evolutionary Computing
Artificial Intelligence
Performance
Different bitstring representations can yield varying computational performance. This work compares three bitstring implementations in C++: std::bitset, boost::dynamic_bitset, and a custom direct implementation. Their performance is benchmarked in the context of concatenation within a Linear Genetic Programming system. Benchmarks were conducted on three platforms (macOS, Linux, and Windows MSYS2) to assess platform specific performance variations. The results show that the custom direct implementation delivers the fastest performance on Linux and Windows, while std::bitset performs best on macOS. Although consistently slower, boost::dynamic_bitset remains a viable and flexible option. These findings highlight the influence of compiler optimisations and system architecture on performance, providing practical guidance for selecting the optimal method based on platform and application requirements.
title Performance Evaluation of Bitstring Representations in a Linear Genetic Programming Framework
topic Neural and Evolutionary Computing
Artificial Intelligence
Performance
url https://arxiv.org/abs/2511.02897