DESC icon indicating copy to clipboard operation
DESC copied to clipboard

Don't close over `self` when jitting objective functions

Open f0uriest opened this issue 10 months ago • 3 comments

  • This is a source of bugs, since attributes of the class get baked in, so don't get properly updated if they change
  • This also likely makes compilation slower, since it's trying to bake in some big constants
  • Also likely a source of memory leaks

f0uriest avatar Mar 27 '24 16:03 f0uriest