[Bf-python] svg2obj script.
Campbell Barton
cbarton at metavr.com
Wed Mar 28 16:41:38 CEST 2007
jmsoler at free.fr wrote:
> Selon Campbell Barton <cbarton at metavr.com>:
>
>> I went through and hada look and found some other areas for improvement.
>>
>>
>> while DATA.find(d,b1,b2)!=-1 :
>> tagplace.append(DATA.find(d,b1,b2))
>> b1=DATA.find(d,b1,b2)+1
>>
>> # 3 Lookups, not optimal
>>
>> while True:
>> i = DATA.find(d,b1,b2)
>> if i==-1: break
>> b1=i+1
>>
>
> ???????????????????????????
>
>
yep, I missed an append, I realized after sending, theeth pointed out
too. you can see the intent of the snippet still.
More information about the Bf-python
mailing list