Questions tagged as 'runtime'

2
answers

Difference in compile and execution error

A compilation error would be one that the IDE already warns before it even compiles, such as missing a semicolon, correct? But what about the execution error? It would be, for example, a Exception ?     
asked by 27.09.2018 / 16:29
2
answers

How does the PHP runtime work?

I've always been interested in how long my code runs. The problem is that I do not quite understand how PHP code execution works. Below are the questions: On the server, does the PHP code run on every request or is it always running? If...
asked by 19.02.2018 / 20:04
1
answer

Countdown timer

I'm creating a mini-game with many questions and want you to have time, or want an accountant who go to x to scratch . The counter only needs to have seconds and minutes. Does anyone know of some function C ++ or some "workaround" for a cou...
asked by 14.06.2016 / 04:04
3
answers

How to speed up a script for maximum speed in python?

I was playing around with a method to approximate the PI number and realized that the code runs very slowly in the Python 3.6 interpreter, and the process is only using 30% of the processor. Would you have a way to run this script at full thr...
asked by 27.12.2016 / 23:58
1
answer

Execute Java class passing parameters to the Scanner

We are creating a Java programming championship and would like students to make an algorithm that reads from a scanner and computes a particular mathematical logic and returns it to the system output. Until this point OK. The problem is that...
asked by 04.05.2016 / 05:16
1
answer

Crystal Report runtime is locking [closed]

Hello, I'm trying to fix an error in my application, I used FUSLOGVW.exe to find out which ones are missing the dlls that were missing. It's giving me back this msg: But the dll msvcm80.dll hand is part of my project, how can I do it to include...
asked by 30.06.2015 / 14:53
2
answers

How to consume less memory in C # runtime?

What I would like to know is what are the most efficient ways to consume less memory in runtime . Using "static" variables? Create object with instances or a static class ? Using Dispose() to free memory, etc.     
asked by 21.06.2018 / 14:15
2
answers

Execute PROMPT / CMD commands in Java [duplicate]

Good people, I would like to know how to execute this command in Java: attrib -R -A -S -H /S /D I:\*.* This program is for cleaning pendrive viruses. I already consulted some materials here in the forum, but could not apply. Basically...
asked by 27.11.2016 / 05:04
1
answer

Regex - Replace process time too high

Recently after developing a process, I saw that it was taking an exorbitant 5 ~ 6min to run, something that should take a maximum of 2s, so I started to debug the code with timers to know which process was taking so long to be accomplishe...
asked by 19.08.2015 / 15:36
1
answer

Measure time of a routine in Ruby

Is there a function in Ruby to measure the time of a function? In python I use: ini = time.time() #função fim = time.time()     
asked by 27.08.2018 / 06:42