Skip to content

Conversation

@pavgust
Copy link
Contributor

@pavgust pavgust commented Sep 21, 2018

The resolveClass part of its definition is not functional, but the
rest is. If we do not cache it but eagerly inline it, there are more
cases where we can use that functionality to generate better code.

@pavgust pavgust added this to the 1.18 milestone Sep 21, 2018
@pavgust pavgust force-pushed the imp/unresolve-element branch 2 times, most recently from 982cb87 to 403bae8 Compare September 24, 2018 13:32
The `resolveClass` part of its definition is not functional, but the
rest is. If we do not cache it but eagerly inline it, there are more
cases where we can use that functionality to generate better code.
@pavgust pavgust force-pushed the imp/unresolve-element branch from 403bae8 to c34114e Compare September 24, 2018 17:18
@jbj
Copy link
Contributor

jbj commented Sep 25, 2018

I'm benchmarking this PR with our LGTM suite on Wireshark. Preliminary results show that this branch prevents timeouts on four queries, slows down most other queries slightly, and slows down ArithmeticTainted.ql and ArithmeticUncontrolled.ql significantly.

@jbj
Copy link
Contributor

jbj commented Sep 25, 2018

I'm benchmarking on Wireshark, by the way.

@jbj
Copy link
Contributor

jbj commented Sep 26, 2018

@adityasharad @aibaars: only one (or none) of #232 and #215 should be merged, and we're still testing to find out what it should be.

@pavgust
Copy link
Contributor Author

pavgust commented Sep 27, 2018

Closing, as #232 went in.

@pavgust pavgust closed this Sep 27, 2018
aibaars added a commit that referenced this pull request Oct 14, 2021
smowton pushed a commit to smowton/codeql that referenced this pull request Feb 7, 2022
Kotlin: Make an unnecessarily-optional argument a required argument
MathiasVP pushed a commit to MathiasVP/ql that referenced this pull request Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants