!!Con West 2019 - Jeroen (Jerry) Van Leeuwen: Fast code! By removing all branches!
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=GDtZra7pi9I
Presented at !!Con West 2019: http://bangbangcon.com/west
Performance optimization should never be your first concern when creating a solution, and run-time code generation is always a measure of last resort.
But when I was faced with the seemingly insurmountable task of making .NET 2.0 serialization as fast as hand-tuned assembly in a Delphi framework, it was time to break all rules and resort to the dirtiest of tricks to make the impossible possible.
In this talk I will illustrate how I used run-time code generation, elimination of conditional branches, and some dangerous assumptions to beat an already blazing fast solution to the finish.