Skip to content

Commit 0cb993c

Browse files
authored
Update README.md
1 parent aa48037 commit 0cb993c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ rtl::function<std::string(float, float)> cToStr = cxx::mirror().getFunction("com
2828
if(cToStr) { // Function materialized?
2929
std::string result = cToStr(61, 35); // Works!
3030
}
31-
// cxx::mirror() returns an instance of 'rtl::CxxMirror' (explained in Quick-Preview section)
31+
// cxx::mirror() returns an instance of rtl::CxxMirror (explained in Quick-Preview section)
3232
```
3333
> *No compile-time coupling to target symbols. No unsafe casting. No guesswork. Just run-time lookup and type-safe invocation.*
3434
35-
### Performance
35+
**Performance**
3636

3737
**RTL**’s reflective calls are comparable to `std::function` for fully type-erased dispatch, and achieve lower call overhead *(just a function-pointer hop)* when argument and return types are known.
3838

0 commit comments

Comments
 (0)