Skip to content

Why is the method table set and reset every time instead of just once? #639

Answered by ClearScriptLib
AnsisMalins asked this question in Q&A
Discussion options

You must be logged in to vote

Do you have any reason to keep that code around, or did you just not get around to getting rid of it?

We haven't dropped support for .NET Framework. In the meantime, we've tried to reduce performance impact by (a) foregoing method table assignment when calling native code that never calls back, and (b) bypassing method table reset to the same address.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AnsisMalins
Comment options

@ClearScriptLib
Comment options

Answer selected by AnsisMalins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants