Skip to content
Permalink
Browse files

unroll this

  • Loading branch information
alex committed Jun 18, 2013
1 parent 0abce9b commit d3417552a7c1159d8ac96774a1d9efce39f83169
Showing with 2 additions and 0 deletions.
  1. +2 −0 topaz/objects/arrayobject.py
@@ -1,5 +1,6 @@
import copy

from rpython.rlib import jit
from rpython.rlib.listsort import make_timsort_class

from topaz.coerce import Coerce
@@ -333,6 +334,7 @@ def method_rotate_i(self, space, n=1):

@classdef.method("insert", i="int")
@check_frozen()
@jit.look_inside_iff(lambda self, space, i, args_w: jit.isconstant(len(args_w)))
def method_insert(self, space, i, args_w):
if not args_w:
return self

0 comments on commit d341755

Please sign in to comment.