Skip to content

Commit 422906a

Browse files
authored
Update README.md
1 parent 7fca65c commit 422906a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ if(cToStr) { // Function materialized?
2424

2525
Overhead? Practically none. **RTL**'s reflective calls — when return and argument types are known — are just a native function-pointer hop, often faster than `std::function`.
2626

27-
Yes! `rtl::function` is faster than `std::function`.
27+
Yes `rtl::function` is faster than `std::function`.
2828

29-
RTL performs reflective invocations — for free functions, methods, constructors — at near-zero cost, even when types are unknown at compile time.
29+
Microbenchmarks show reflective invocations through `rtl::function` have lower call overhead — a single, native pointer jump with no extra indirection.
30+
Once the functions start doing real work, both perform identically — always, under all conditions.
3031

3132
💡 In One Line
3233

0 commit comments

Comments
 (0)