A fast multi-token string replace library for ruby for non-regex use cases
https://github.com/jedld/multi_string_replace
Created this gem since I need something faster than gsub. Wraps an opensource C implementation of the Aho-Corasick algorithm
https://github.com/jedld/multi_string_replace
Created this gem since I need something faster than gsub. Wraps an opensource C implementation of the Aho-Corasick algorithm
Post a comment