Skip to main content
2 votes
1 answer
90 views

In Speculative Optimizations for WebAssembly using Deopts and Inlining the following statement is made: The difference is in the code for the slow path. Without deopts, we don’t have the option of ...
Jonas Wilms's user avatar
3 votes
0 answers
189 views

I've been conducting a stress test using async-profiler to generate a flame graph and happened to notice that, when JDWP is attached, there are frequent cases of deoptimization consuming a significant ...
zhumengzhu's user avatar
6 votes
1 answer
3k views

I'm running my app in Kotlin and there is no error, but I keep getting these warnings: W/app: Got a deoptimization request on un-deoptimizable method boolean libcore.io.Linux.access(java.lang.String, ...
Harmony Valley's user avatar
0 votes
0 answers
70 views

I want to replicate this function opt_object <- DEoptim(fn = optimFunctionDT, lower = lower, upper = upper, fnMap = mappingFun, control = DEoptim.control(trace = 500, itermax = 5000, steptol = 1000)...
As18's user avatar
  • 1
1 vote
0 answers
162 views

I am trying to tune gradient boosting (caret package) with differential evolution (DEOptim) in R language. I have a question, is correct to define the maximum of accuracy at each iteration in my eval ...
user979974's user avatar
1 vote
1 answer
531 views

I've been tinkering with a Javascript chess engine for a while. Yeah yeah I know (chuckles), not the best platform for that sorta thing. It's a bit of a pet project, I'm enjoying the academic exercise ...
A Moore's user avatar
  • 259
2 votes
1 answer
546 views

I am trying to learn the DEoptim library in R but I think I am misunderstanding the library documentation from https://www.rdocumentation.org/packages/DEoptim/versions/2.2-4/topics/DEoptim I am ...
coolhand's user avatar
  • 2,109
0 votes
0 answers
88 views

How do I make non-linear portfolio optimization faster? I want to optimize a portfolio of 50 assets on the following measure: (mean(portfolio returns_t-1)/sd(portfolio returns_t-1)-mean(portfolio ...
Lukeseb93's user avatar
0 votes
0 answers
243 views

I understand that js' JIT compiler will deoptimize the warm or hot code in case datatype changes in a loop (like one element in array is string whereas rest were int). But i have few scenarios where ...
a1626's user avatar
  • 2,964
2 votes
0 answers
255 views

I want to fit a curve,the model is as the following picture. In this model, there are four parameters(alpha,beta,gamma and Rd)to optimize,now the data of I and P(I) is already,and the function ...
YQ.Zhi's user avatar
  • 21
2 votes
1 answer
742 views

I have a very odd DEoptim error that I have "fixed", but do not understand. I do not have issues when I use DEoptim's parallel capabilities with the parallel package (i.e., pType=1). However when I ...
user052084's user avatar
5 votes
1 answer
1k views

I've written a simulation program in C++ and like to find parameters in R, using DEoptim. Sometimes everything works well and sometimes DEoptim stops and tells: Error in DEoptim(simulate, lower = lb, ...
dani's user avatar
  • 3,987
6 votes
0 answers
197 views

I am trying to use DEoptim in R in the following way fit <- DEoptim(fn = .obj, lower=lower, upper = upper, control = list(itermax = 100, trace = 1, parallelType = 1, ...
Kumar's user avatar
  • 189
2 votes
1 answer
719 views

I have a function that's supposed to round X to the nearest multiple of A. Here's the code in JavaScript: var round = function (x, a) { "use strict"; if (typeof a === "undefined") { return ...
Paul Borza's user avatar
1 vote
1 answer
779 views

I'm not sure what's wrong in this code. Src is a Uint8Array object with a length bigger than 0. function makeImageFromChannel(src) { var image = new Uint8Array(src.length * 4), i = 0, ...
Loïc Faure-Lacroix's user avatar