Note get_zephyr performance

(imported from commit 215a457d30f5a355d18882a9703ff671248b054f)
This commit is contained in:
Keegan McAllister 2012-09-19 17:14:05 -04:00
parent c3f3a1ef14
commit 5ff4d22859

View File

@ -256,6 +256,8 @@ function get_id(zephyr_row) {
return zephyr_row.attr('zid');
}
// NB: this is slow (50 ms or more) due to the custom attribute.
// We instead could compute an id based on the zid and focused table.
function get_zephyr(zephyr_id) {
return $("table.focused_table [zid=" + zephyr_id + "]");
}