prechelt-phone-number-enco

By renatoathaydes

Prechelt-phone-number-enco Alternatives

Similar projects and alternatives to prechelt-phone-number-enco

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better prechelt-phone-number-enco alternative or higher similarity.

prechelt-phone-number-enco reviews and mentions

Posts with mentions or reviews of prechelt-phone-number-enco. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-14.
  • Optimising Common Lisp to try and beat Java and Rust on phone encoding 2/2
    2 projects | news.ycombinator.com | 14 Oct 2021
    > it’s using Unicode-aware string stuff

    Rust uses UTF-8 internally for Strings, so it's very efficient to parse a file into a String, then using slices to go through it... this is probably the best you can get as parsing ASCII input as UTF-8 is very efficient (the 0-bit is always zero in ASCII, the unicode decoder only needs to check that's the case for every byte, so it's not some kind of complicated computation it's doing to decode)...

    If you use bytes for everything, you will make the whole code much harder to follow and it still won't run faster.

    Check for yourself: https://github.com/renatoathaydes/prechelt-phone-number-enco...

  • Learning Common Lisp to beat Java and Rust on a phone encoding problem
    9 projects | news.ycombinator.com | 1 Oct 2021
    This is a pretty introductory CL article, mostly a commentary on Norvig's solution to the problem. Still, I learned about the #. readmacro from it. The conclusion: "[The Lisp implementation] was the fastest implementation for all input sizes except the largest one, where it performed just slightly worse than my best Java implementation." GH repo at https://github.com/renatoathaydes/prechelt-phone-number-enco.... Sounds like he was mostly measuring the performance of the SBCL bignum implementation.
  • How to write slow Rust code
    3 projects | news.ycombinator.com | 2 Aug 2021
    source: https://github.com/renatoathaydes/prechelt-phone-number-enco...
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 25 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →