The variables are used in a read-only manner in the function I pass them to (so they are const)
It is known that passing by reference is better for complex objects since it avoids copying (wich induces a whole hierarchy of calls to constructors). However for an int does it make sense ? In general references are implemented as pointers (I heard) so It would take more memory to handle them since a pointer is typically 8 bytes length and an Int is 4 bytes (on a typical 64 bits platform).