Parallel Programing Problem: asciify-string

here's a interesting parallel programing problem.

the task is to change this function so it's parallelable.

(defun asciify-string (inputStr)
  "Make Unicode string into equivalent ASCII ones."
  (setq inputStr (replace-regexp-in-string \\|à\\|â\\|ä" "a" inputStr))
  (setq inputStr (replace-regexp-in-string \\|è\\|ê\\|ë" "e" inputStr))
  (setq inputStr (replace-regexp-in-string \\|ì\\|î\\|ï" "i" inputStr))
  (setq inputStr (replace-regexp-in-string \\|ò\\|ô\\|ö" "o" inputStr))
  (setq inputStr (replace-regexp-in-string \\|ù\\|û\\|ü" "u" inputStr))
  inputStr
  )

for detail, see: Parallel Programing Problem: asciify-string.

Popular posts from this blog

Browser User Agent Strings 2012

11 Years of Writing About Emacs

does md5 creates more randomness?