English 中文(简体)
加快提交大量数据的适当方法?
原标题:Right approach for speeding up presentation of large amount of data?

第一个问题曾经涉及 st流。 现在需要读写,同时要学习沙尔语和 w语。

我写了一幅小 app,以习俗方式介绍大量的屏幕数据。 这些数据是储存在Almaty的物体中的信息。 其大约100个库存应在屏幕上同时列报。 每一物体都有35个属性,因此,有3 500个属性同时显示。 而且,根据属性,我需要不同的字体、大小和颜色。 每个目标的背景正在根据用户(主题)的投入变化。

因此,我尝试与轮船和许多StaticText控制进行接口。 装载量为5秒,并配有时间模块。

浏览这个净额给我一个想法,就是要从一个装置的背景中提取数据。 这只剩下0.1秒。 为使可点击率达到可点数,我用每个特性的具体颜色拍摄第二个照片。 在点击显示照片的小组时,我把坐标同发展中国家相提并论,以计算点击。 我现在要写一下小幅的例行文字,以便用户能够改变老板。

Well my question is quit simple: Do you think I chose the right approach? Or is there a simpler more pythonic way to do this, without using StaticText that took forever to load?

Grids is not a solution for me, because I want the data to be presented in a very specific layout. To be able to do that with a grid, I would have to set the grid to 2px with and hight, and then merge cells all over the place...

edit:

link for downloading picture of the controll as it looked yesterday: http://dl.dropbox.com/u/10606669/super.png

我不希望它坐下来。 这是因为试图书写我自己的体积。

最佳回答

在装货过程中,你可以尝试冻结整个航程。

frame.Freeze()
try:
    # load all data
finally:
    frame.Thaw()

总的来说,由于许多温得力控制会损害业绩,因此习惯的制定是唯一的解决办法。 你可以简化一些事情,为一股股票(拥有自己的EVT-PAINT手稿等)建立自己的习俗控制,然后创造100套。 它应当使你的计算更加容易。 See Creating Customs Controls for more information.

问题回答

暂无回答




相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签