Elektrine lite

← Feed

@uecker@mastodon.social

Post #2766127

2025-12-31 16:49 UTC

@thephd@pony.social @JensGustedt@digitalcourage.social I think your benchmark is misleading here. First, compile-time unrolling will always shine in micro benchmarks and often suck in bigger projects. It also makes compile times long. But it can be useful, but I think there are much better ways to achieve this than templates: An optimizer can all do this perfectly, but there is currently no way to have explicit control. But I think this is entirely orthogonal to how nested functions shown be designed.

Replies (1)

  • @thephd@pony.social 2025-12-31 16:54

    @uecker@mastodon.social @JensGustedt@digitalcourage.social I would be happy to have other benchmarks to add to the list. Someone has already suggested Tak as the next one, which is supposed to be really good at determining the cost of various function call abstractions. Otherwise, I don't know what to make of "misleading" here.

    Open ##2766128