Skip to content

Optimization ideas #37

@ChrisS85

Description

@ChrisS85

Some ideas to speed things up a little:

  • Replace all uses of Control.ClassNN with Control.hwnd to avoid __Get() invocation. This works fine now with the latest AHK_L.
  • Possibly remove some proxy objects. More speed against less safety against accidental overwriting of control/window properties.
  • Store references to the control/window instead of manually acquiring them each time. To make sure that there are no issues with cyclic dependencies which can apparently cause problems with releasing objects from memory and to help with object releasing in general, ObjRelease() should be called for each reference and at each access it needs to check for the validity of the reference. I believe this will be faster than the current way, but it would need to be measured.

The ListView control needs some speedup (I'd say somewhere around a factor of 2-10) with handling its items. I did some stuff there previously but it's still bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions