Contact map window slows contactmap.GetHeat()

Case number:699969-997965
Topic:General
Opened by:brow42
Status:Open
Type:Suggestion
Opened on:Wednesday, June 11, 2014 - 21:35
Last modified:Wednesday, June 11, 2014 - 21:35

Low priority, but SERIOUSLY slows down Lua scripts that use GetHeat. People need to know to close the dialog. I suspect many people think contact recipes are too slow to use, when it's some interaction with the GUI at fault. Present in current Win/Mac clients, observed since May. Sample code, on my Mac, executes in 0.19 vs. 2.44 on Sparse Contact Map (expired).

start = os.clock()
total = 0
n = structure.GetCount()
for i = 1,n-2 do
for j = i+2,n do
total = total + contactmap.GetHeat(i,j)
end
end

print(os.clock()-start)
print(total)

(Wed, 06/11/2014 - 21:35  |  0 comments)


Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons