Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Templating on pixel classes so that a blitter builds all supported pixel paths separately and inlines them.

Yes you can do it less cleanly with macros or inline functions. But you can't do it performantly with struct and function pointers.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: