← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Floating point math is often slower than integer math because the compiler is being conservative about how it optimizes your code.

  2. How do you speed up computational Python code?

  3. Imagine you are processing a stream of events, of unknown length.

  4. In a previous post I talked about unit testing for speed, and in particular testing for big-O scalability.

  5. When you’re building a Docker image for your Python application, you’re building on top of an existing image—and there are many possible choices for the resulting container.

  6. If your NumPy code is too slow, what next?

  7. When you implement an algorithm, you also implement tests to make sure the outputs are correct.

  8. In a recent article by David Lattimore, he demonstrates a number of Rust performance tricks, including one that involve writing code that looks like a loop, but which in practice is optimized down to a fixed number of instructions.

  9. Note: The original version of this article was slightly different, e.g. with 500x speedup; I reworked it to make the argument clearer.

  10. You have a large JSON file, and you want to load the data into Pydantic.