[llvm] ADT/Matrix: two-dimensional Container with View (PR #98893)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 09:46:37 PDT 2024


artagnon wrote:

> > The compile-time computation is very minor, and amounts to a few pointer subtractions. See MutableArrayRef::slice(Begin, End - Begin); for instance.
> 
> Again, please explain why we need this to happen at compilation time.

Isn't it more efficient to do this at compile time, shaving the runtime?

https://github.com/llvm/llvm-project/pull/98893


More information about the llvm-commits mailing list