Quantcast
Channel: Fastest way to find a string delimited by two words - Code Review Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by chux - Reinstate Monica for Fastest way to find a string delimited...

Fastest way to find a string delimited by two wordscheck_delim() can be linearly made faster by taking advantage that a string ends with the first null character.No need for 2 checks of lengths on each...

View Article



Fastest way to find a string delimited by two words

Motivated by this question, I created a simple benchmark for investigating what is the fastest way to extract a substring given two delimiting words:#! /usr/bin/env perluse feature qw(say);use...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images