Skip to content

mondeja/unic-langid-impl-dummy-sorting

Repository files navigation

Dummy sorting implementation for unic-langid-impl's Variant type

  • Previous results (.dedup() + .sort_unstable()): dominators-with-sort.txt (13057 bytes)
  • Results after commenting out .sort_unstable(): dominators-without-sort.txt (3595 bytes)
  • Results after patch: dominators-after-patch.txt (3439 bytes)

Search for unic_langid_impl::LanguageIdentifier::from_bytes in the files.

How to reproduce

  1. Clone the unic-locale repository and put in the same directory as this repository.
  2. Install trunk.rs with cargo install trunk.
  3. Install twiggy with cargo install twiggy.
  4. Run trunk build --release.
  5. Get the name of the WASM file generated at dist/.
  6. Run twiggy dominators dist/<WASM_FILE>

Note that Trunk is building the WASM file in release mode but without demangling the symbols. See data-keep-debug data-wasm-opt="0" data-no-demangle in index.html.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published