Brett Johnson wrote:
| 
| I realize that this makes for non-static offsets when the driver updates
| the dispatch table, but I don't see that as a big issue.  Are there drivers
| that change the dispatch table so often that using a variable offset to do
| so (or even a function call for that matter) would affect their performance?

Yes.

Perhaps more importantly, some existing driver code defines the
dispatch table as a struct, so converting it to a dynamically-indexed
array of some kind means wholesale source code changes.  And if not
designed carefully, this would reduce the amount of type-checking that
can be done when the driver is compiled.

Allen

Reply via email to