blob: 554be0aafb6f4d2b4e4197f65d9f4c9ba66901ae [file] [view]
---
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
layout: docpage
title: Optimizations
description: Compiler settings and doc comments directives that can be used to improve generated output
permalink: /create-an-application/optimizations
---
# Optimizations
Compiler settings and doc comments directives that can be used to improve generated output
*Warning: This document is a work-in-progress/undergoing review.*
## Optimization options
The following content explains optimizations for javascript output that you can use when configuring the Royale compiler directly or by using doc-comment directives in your actionscript code.
Many settings have corresponding approaches between the over-arching compiler level influence of compilation settings and those with more specificity at the code level, so to avoid repetition, it is recommended that you get familiar with the Compiler settings first.
[Compiler Configuration Settings](create-an-application/optimizations/compiler-configuration-settings.html) These are settings that affect the output of the current compilation based on compiler configuration settings.
[Doc-Comment Compiler Directives](create-an-application/optimizations/doc-comment-directives.html) These are settings that affect the output of the current compilation by using doc-comment compiler directives in your actionscript code.