prechelt-phone-number-encoding

Comparison between Java and Common Lisp solutions to a phone-encoding problem described by Prechelt (by nybble41)

Prechelt-phone-number-encoding Alternatives

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

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-encoding alternative or higher similarity.

prechelt-phone-number-encoding reviews and mentions

Posts with mentions or reviews of prechelt-phone-number-encoding. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-02.
  • How to write slow Rust code
    3 projects | news.ycombinator.com | 2 Aug 2021
    In this case the linked list is just tracking "breadcrumbs" which mirror the path back up the call chain, so you don't even need reference counting; a simple borrowed reference will do. I put together a version in Rust based on stack-allocated linked lists[0], and the results were promising: on 10 million inputs the Rust version completes in about 40 seconds on my machine, while the Java port (Main2.java in the code; "Java1" from the article IIUC) takes 82 seconds. This Rust version doesn't allocate anything from the heap, apart from loading the dictionary at startup; all the bookkeeping, including the cons cells, is kept on the stack.

    [0] https://github.com/nybble41/prechelt-phone-number-encoding

Stats

Basic prechelt-phone-number-encoding repo stats
1
0
0.0
almost 3 years ago

The primary programming language of prechelt-phone-number-encoding is Java.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com