看你的本事呗。。。

2010/6/7 Devil Wang <[email protected]>:
>
>
> 2010/6/7 Aron Xu <[email protected]>
>>
>> 这样不如去上游考虑重新实现 yum/rpm,另外用 xml 的方法觉得不可取。
>
> 问题是,上游会去重构yum/rpm吗?
>
>>
>> 2010/6/7 Devil Wang <[email protected]>:
>> > FYI
>> >
>> > ---------- Forwarded message ----------
>> > From: Devil Wang <[email protected]>
>> > Date: 2010/6/7
>> > Subject: Re: [Ailurus] 我突然有想用C++重写Ailurus底层的冲动。。
>> > To: Homer Xing <[email protected]>
>> >
>> >
>> > 我也这么想的,直接不依赖yum.
>> > 或者直接去yum的数据库里面去search.
>> > 或者写在xml里面。
>> >
>> > 2010/6/7 Homer Xing <[email protected]>
>> >>
>> >> 同意Aron和Yangyang。 其实installed software面板的装载,是先等待yum输出两个数据:
>> >> 装了哪些包,存在哪些 包。 如果我们做个实验,让 dump_rpm_cache.py 直接输出空集,那么 installed software
>> >> 就能一秒加载。所以我觉得瓶颈在于 yum。
>> >>
>> >> 我倒是有个主意,我们可以放弃“显示哪些软件已经装了”的feature。这样就 不用等Yum了。大家觉得呢?
>> >>
>> >> 在 2010年6月7日 下午3:59,Aron Xu <[email protected]>写道:
>> >>>
>> >>> 我就是因为yum本身以及中国太慢才转的deb系。。。ailurus 那块本身没多大,主要效率问题在 backend。
>> >>>
>> >>> 2010/6/7 Devil Wang <[email protected]>:
>> >>> > 悲剧的是我的环境的Fedora, yum  貌似就直接是python写的。
>> >>> >
>> >>> > 每次load都花好长时间。
>> >>> > 2010/6/7 Aron Xu <[email protected]>
>> >>> >>
>> >>> >> dpkg 现在正用 C++ 重写,还有很多是 perl 实现的,效率比较低。
>> >>> >>
>> >>> >> 2010/6/7 Yangyang Chen <[email protected]>:
>> >>> >> > 貌似installed software加载慢的瓶颈在加载APT缓存。用C++重写的话提高的效率可能不明显吧。调查下先~
>> >>> >> >
>> >>> >> > 2010/6/7 Devil Wang <[email protected]>
>> >>> >> >>
>> >>> >> >> 如题。
>> >>> >> >> 我在加载installed software的时候,要等好久。
>> >>> >> >> python貌似有可以调用C++的功能。
>> >>> >> >> 我想用c++来实现一些底层。是不是可以提高性能?
>> >>> >> >> 大家还能分析下可行性?
>> >>> >> >>
>> >>> >> >> --
>> >>> >> >> Thanks & Regards
>> >>> >> >>
>> >>> >> >> Linux Developer : Devil Wang
>> >>> >> >>
>> >>> >> >> _______________________________________________
>> >>> >> >> Mailing list: https://launchpad.net/~ailurus
>> >>> >> >> Post to     : [email protected]
>> >>> >> >> Unsubscribe : https://launchpad.net/~ailurus
>> >>> >> >> More help   : https://help.launchpad.net/ListHelp
>> >>> >> >>
>> >>> >> >
>> >>> >> >
>> >>> >> > _______________________________________________
>> >>> >> > Mailing list: https://launchpad.net/~ailurus
>> >>> >> > Post to     : [email protected]
>> >>> >> > Unsubscribe : https://launchpad.net/~ailurus
>> >>> >> > More help   : https://help.launchpad.net/ListHelp
>> >>> >> >
>> >>> >> >
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Thanks & Regards
>> >>> >
>> >>> > Linux Developer : Devil Wang
>> >>> >
>> >>> _______________________________________________
>> >>> Mailing list: https://launchpad.net/~ailurus
>> >>> Post to     : [email protected]
>> >>> Unsubscribe : https://launchpad.net/~ailurus
>> >>> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >>
>> >> _______________________________________________
>> >> Mailing list: https://launchpad.net/~ailurus
>> >> Post to     : [email protected]
>> >> Unsubscribe : https://launchpad.net/~ailurus
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >
>> >
>> >
>> > --
>> > Thanks & Regards
>> >
>> > Linux Developer : Devil Wang
>> >
>> >
>> >
>> > --
>> > Thanks & Regards
>> >
>> > Linux Developer : Devil Wang
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~ailurus
>> > Post to     : [email protected]
>> > Unsubscribe : https://launchpad.net/~ailurus
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>> >
>
>
>
> --
> Thanks & Regards
>
> Linux Developer : Devil Wang
>
_______________________________________________
Mailing list: https://launchpad.net/~ailurus
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ailurus
More help   : https://help.launchpad.net/ListHelp

回复