开发者

Compiling Opa programs takes a very long time

开发者 https://www.devze.com 2023-04-13 00:58 出处:网络
I just started learning Opa so please bear w开发者_运维问答ith me if my question is naive. I\'m following Opa book (found in binary package).Chapter 1 went so fine and smooth.Now when I try to build

I just started learning Opa so please bear w开发者_运维问答ith me if my question is naive.

I'm following Opa book (found in binary package). Chapter 1 went so fine and smooth. Now when I try to build binary for chapter 2 (hello_wiki) on Linux, it takes a lot for my beefy laptop (Thinkpad T61) to finish the job.

[bahman@bleda hello_wiki]$ time opa hello_wiki.opa 
...
real    1m36.442s
user    1m34.497s
sys     0m4.540s

Is it normal? If yes, how do you folks develop/test your programs?

TIA,

-- Bahman


No, it' not normal, it should takes only a few seconds.

Are you using the latest stable version, Build 687 (opa --version)?

Update:

Indeed, there is a problem with this hello_wiki, with the line:

db /wiki: stringmap(Template.default_content)

We will check what's going one. Keep in touch.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号