The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
2012/9/15 Andreas van Cranenburgh <andr...@unstable.nl>:
>> I've just been trying to replace a dynamically growing Numpy arrayJust to let you know, I've finally got some time to get back to this
>> with a cpython.array one to benefit from its resize_smart
>> capabilities, but I can't seem to figure out how it works. What I have
>> is a Numpy array X that is grown by calling resize(2 * X.size)
>> whenever it's full. I can replace it with an ordinary Python array,
>> calling its append member, but that doesn't get Cythonized properly.
> resize and resize_smart are at the module level and should be called with an
project and it works now. Thanks!
> However, note that using its append and extend methods would trigger theYes, but a call to append shows up yellow in cython -a output, so I
> same behavior internally.
want to avoid it. I've yet to do a full benchmark, but the HTML file
is looking ever whiter :)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.