简体   繁体   English

AS3 / Flex中的数据绑定性能

[英]Data binding performance in AS3 / Flex

在不同的绑定方式下,不同的性能水平是什么?

  • ChangeWatcher.watch
  • addEventListener
  • BindingUtils.bindProperty
  • MXML {}

Flex's databinding is very heavy as it uses the magic strings event system that adds a lot of extra code in addition to other performance crap it adds. Flex的数据绑定非常繁重,因为它使用了魔术字符串事件系统,该系统除了增加了其他性能外,还添加了很多额外的代码。 If your looking for performance bind manually. 如果您想要性能,请手动绑定。 Here's a very in depth report on your exact question though: http://www.slideshare.net/michael.labriola/diving-in-the-flex-data-binding-waters-presentation 这是关于您的确切问题的非常深入的报告: http : //www.slideshare.net/michael.labriola/diving-in-the-flex-data-binding-waters-presentation

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM