bloomberg / memray

Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
Apache License 2.0
13.17k stars 392 forks source link

Stop using `IF` in our Cython code #545

Closed godlygeek closed 7 months ago

godlygeek commented 7 months ago

This has been deprecated for a while. Let's switch to using runtime checks for things that can be checked at runtime, and inline C++ code with conditional compilation for things that need to be checked at compile time.

godlygeek commented 7 months ago

This'll need to be rebased after #546 lands.