Skip to content

SNM_DeleteObject() working? #520

Description

@Jeff0S

From mths.f...@googlemail.com on October 04, 2012 16:49:03

Hey Jeffos and Fingers,
let me first thank you guys for sharing your work with us in the latest beta, i already love the new funcs. My midi-scripts e.g. have been shortened by about 80% and are also running in less than 1 minute, success!! :D

I tested all of the newly added stuff so far but did spot one thing about SNM_DeleteObject() that is yet a bit unclear to me.
If i do this:

for i in range(10000):
fstr=SNM_CreateFastString("sdtgdtgdsfg")
SNM_DeleteObject(fstr)

my mem is constantly increasing by a amount, but in fact independent of the last line.
Not that i'll ever use 10000 instances of fast strings but since i doesnt get a return from the func if the object has been deleted, i thought i let you know.

Using Fingers FNG_FreeMidiTake() after FNG_AllocMidiTake() does make a huge difference btw.
winXP, python 3.2. here

Thanks guys.

PS, it will probably be a bit quite on my side over the next 6 months (studies trouble), so sorry already if i cant contribute with much feedback :/

cheers
V

Original issue: http://code.google.com/p/sws-extension/issues/detail?id=520

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions