Skip to content

SIMD implementation of url decode

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

pedrosland/url-decode-simd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-decode-simd

SIMD accelerated URL decoding.

It converts a string such as Hello+brave%20world%21 to Hello brave world!.

Right now there is SIMD support for SSE4.1 instructions. In the future there may be AVX2 and AVX-512 implementations. There is also a fallback in standard Rust in case the binary is not compiled with support for SSE4.1.

Stability

The API and features are not stable.

Opportunities for improvement include:

  • runtime CPU detection
  • allow tests to run even if current system does not support all CPU instructions (eg qemu)
  • AVX2 support
  • AVX-512 support
  • instructions for ARM

Benchmarks

RUSTFLAGS="-C target-cpu=native" cargo bench --features=benchmark

License

Either your choice of MIT or Apache 2 license.

About

SIMD implementation of url decode

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy