Hi guys,
While implementing the BList strategy I found a need to be able to
efficiently copy part of a list to another list (and sometimes to the same
list).
I'd rather avoid implementing something like
https://github.com/DanielStutzbach/blist/blob/master/blist/_blist.c#L189 if
it already exists in RPython.
Someone on IRC mentioned that there is a function in the rgc module
called ll_arraycopy
but I'm unsure how to use it.
I could implement it myself but I don't think it should live under
objspace/listobject.py. Is there a utility module for objspace I should put
those functions in?

Thanks,
Omer Katz.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to