Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nav hold not possible with XML gauge

Featured Replies

  • Author

Hi Rob,Comments and whitespaces don't affect a program's performance no matter the language it is written in (read C++,VB XML,etc) as they are automatically ignored on code loadup; so you may "comment" an entire paperback inside a gauge and fps won't drop a bit!:-) though the gauge loading time will increase as you already stated. My point was refered to limit the use of too much branching and nested conditionals (if..els..&& etc) that DO affect the system's performance, when speaking of programs with tenths of thousands of code lines. I am not sures if this may apply to XML efficiency though.For instance, let's compare these pieces of code:(A) 1 > (:( 5 < && if{ 1>XX } els{ 0>XX }(A) 1 > (:( 5 < && >XXIn the first case we have one jump and two extra bytes in memory. A jump is needed to get the "1" or "0" byte, each of one holds its own memory position. In the second case, we don't need a jump as the resulting byte is stored in the XX memory position, then we don't need the "1" and "0" bytes as well. Hypotetically I mean, multiply this basic example to the entire gaugeset of a panel and you should have to find some kind of increased performance. The point is, is it worth in XML? I really don't know; actually I prefer, like you, to make the code more readable, although trying to use "shortcuts" whenever I can providing I will understand the meaning when I need to come back to it:-)Maybe a programming guru can enlighten us a little bit...( or better, is willing to make the proper testings:-) )Regards,Tom

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.