flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject ADG and cellIndex.toString()
Date Tue, 10 Sep 2013 05:13:01 GMT
Hi,

Was looking into the cell selection code and noticed that the ADG has this throughout:
cellSelectionData[uid][columnIndex.toString()]

Is there any sane reason for not having the column index as just columnIndex (ie a plain int)?
Int index lookup is faster than string index look up right?

Out of curiousosity I removed all of the the toStrings and the ADG mustella test pass and
not surprisingly it's a little faster.

Is there something obvious I'm overlooking?

Thanks,
Justin
Mime
View raw message