View Single Post
Old 05 December 2020, 20:46   #20
Registered User

bloodline's Avatar
Join Date: Jan 2017
Location: London, UK
Posts: 360
Originally Posted by Thomas Richter View Post
No. And even if, it would be far too late to fix that.

At least the most common methods like OM_NEW, OM_DELETE, OM_GET, OM_SET or OM_DRAW should have been mapped to standard LVOs of the boopsi class which would help already to streamline the dispatch mechanism. There would be still a way for a "generic" dispatcher entry in case none of the above match, or a smart "hash" algorithm that derives from the method ID the entry. Or make the method ID the offset to the entry point (even easier). This is how C++ virtual function calls work. Replace the vtable with the library vector entries, and you have a possible design with less overhead.

Wrong man, wrong time.
Thank you for taking the time to explain all this, I find it really interesting! I appreciate it.
bloodline is offline  
Page generated in 0.04726 seconds with 11 queries