DataObjects-NET / dataobjects-net

https://dataobjects.net
MIT License
61 stars 25 forks source link

Optimization: Dispatch Translator by virtual functions instead of swi… #368

Open SergeiPavlov opened 9 months ago

SergeiPavlov commented 9 months ago

Using Virtual-function dispatching minimizes number of branches, which is a bottleneck in CPU

This approach applied to SELECT translator only as an example. Can be propagated to other frequently used SQL statements

Also: