3 ms·
> The inlining is an implementation detail and I've seen it happen differently across different platforms. Do you have more information on this? I would be int
by rascul 5y ago
> The inlining is an implementation detail and I've seen it happen differently across different platforms.
Do you have more information on this? I would be interested to read more about it. As far as I was aware (and my knowledge is certainly not exhaustive), the only thing kinda related is as noted in the bash man page:
> The command substitution $(cat file) can be replaced by the equivalent but faster $(< file).
- junon 5y agoI don't, sorry. I just know it's something some implementations opt-in to (especially drop-in replacements to bash). It's behavior I've observed quite a bit and have leveraged it in some cases to improve the performance of some critical bash scripts over the years. I'd also be interested in some prose about it.