Questions tagged [precompiled]

154 questions
7
votes
5 answers

What order do I include header files in?

I'm new to programming and the topic of header files is sort of bogging me down after I started using a lot of them. In addition to that I'm trying to use precompiled headers. I'm also using the SFML library so I have those headers that also have to…
orod
  • 81
  • 1
  • 5
7
votes
3 answers

LINQ-to-SQL CompiledQuery.Compile() with Update, Delete, Insert?

All, So I've got all my select queries in LINQ-to-SQL converted to using CompiledQueries to speed things up. Works great so far for select statements, but I haven't been able to figure out how to pre-compile insert, update, or delete…
Sam Schutte
  • 6,666
  • 6
  • 44
  • 54
7
votes
1 answer

Slow Compile Time with Boost + GCC + precompiled header

Running: gcc version 4.2.1 (Apple Inc. build 5664) I created an apple XCode project with a default precompiled header. It appears to be very slow, and a trivial main file with a main function no includes no code takes 6 seconds to compile, which is…
user805547
  • 1,245
  • 1
  • 15
  • 23
6
votes
2 answers

What is a JavaScript pre-compiled library?

I'm learning how to use Magento e-commerce system, and I'm reading its documentation, but I don't understand some term, a "pre-compiled JavaScript library". What do they mean by that? How can JavaScript code be compiled? The web downloader for…
user478249
  • 698
  • 1
  • 10
  • 15
6
votes
1 answer

Gradle pre-compiled script plugin fails with `expression ... cannot be invoked as a function` for first block

I have the following pre-compiled script plugin, which applies a Gradle core plugin and an external plugin (via id(...)): // buildSrc/main/kotlin/my-template.gradle.kts: import org.gradle.api.JavaVersion plugins { java …
blubb
  • 9,510
  • 3
  • 40
  • 82
6
votes
1 answer

No speedup with precompiled headers on gcc (but large speedup with visual studio)

I'm working on a large project that must builds under multiple environment, chiefly linux/gcc and windows/msvc. To speed up the build, we use precompiled headers. The Windows implementation is very efficient: on my quad-core hyperthreaded i7 build…
Norswap
  • 11,740
  • 12
  • 47
  • 60
6
votes
3 answers

Web Deployment Project: Publish without Precompilation

The Question Is it possible to publish a web application project using a web deployment project without precompilation? Notes In order to split out web controls and pages into a separate assembly, I am using a custom VirtualPathProvider to load…
brad
  • 73,826
  • 21
  • 73
  • 85
6
votes
2 answers

ASP.NET warmup/initialize

I'm trying to eliminate (or at least minimize) startup/warmup times for my .NET applications. I'm not really sure on how to do this even though it's a common concern. There's a ton of questions about slow startup of .NET applications. These are…
mikeesouth
  • 1,610
  • 1
  • 19
  • 34
5
votes
2 answers

Precompiled ASP.NET web application: error "System.Web.HttpException file filename.aspx has not been pre-compiled, and cannot be requested."

I've created a web deployment project using the template for Visual Studio 2008 for a ASP.NET 3.5 web application (not web site). I compiled the project which created the files needed for deployment. I copied the resulting folders (bin, static files…
splattne
  • 102,760
  • 52
  • 202
  • 249
5
votes
3 answers

Rails Engine assests are not precompiled

I am studying rails and using the engines with rails. In production mode, rails did not load compiled assets of engines, although I have executed: $ RAILS_ENV=production bundle exec rake assets:clean assets:precompile Please help if anyone knows…
yongwoon
  • 155
  • 2
  • 10
5
votes
1 answer

Running a custom VirtualPathProvider with a PreCompiled website

currently I have a custom VirtualPathProvider in a Asp.net MVC web application. This VirtualPathProvider checks the Area from the route "/{Area}/{Controller}/..." and uses the NameSpace.{Area}.Main.dll module to return the views that are contained…
5
votes
6 answers

Global.asax not loading for precompiled asp.net website

I used Visual Studio 2008 to publish my asp.net website. When I bring up the website on the server (Windows 2008 server), I noticed that the code in global.asax was not running. My Global.asax body is similar to: <%@ Application Language="C#"…
Jim Geurts
  • 20,189
  • 23
  • 95
  • 116
5
votes
3 answers

Rails 500 Error: application.css isn't precompiled

I've got Rails running on Passenger with Apache on an Ubuntu linux box (ve) Server from Mediatemple. My app is giving me a 500 error (a Rails error, not an Apache error) when I try to load any page: http://www.mvngmtns.com I saw an article about…
Duncan Malashock
  • 776
  • 10
  • 32
4
votes
0 answers

Use Precompiled Library in Flutter

Is there a way to use a pre-compiled library in Flutter? There is no source code, for example in C ++, for which a simple bridge would be sufficient. The library is already precompiled and could, for example, be added as a file with the assets.
Markus Bach
  • 763
  • 1
  • 8
  • 24
4
votes
3 answers

using const double* const as a template parameter - code perfomance question

I'm trying to understand the under the hood of using const double* const as template. I have some very basic calculation I want to perform efficiently and I don't know how the c++ compiler works(what is the assembly code). The idea is to create a…
M H
  • 41
  • 3
1
2
3
10 11