Comments (10)
That screenshot is too dark for me to read, so I'm not sure what you're saying is the problem, there.
from v.
Yes, you need to update again.
from v.
Latest V is V 0.4.5 a1497c0
. Your version is from 3 weeks ago, and is 132 commits behind the current.
Since V is still changing often, it is always best if you see an error to immediately do v up
then check again. It may have already been fixed.
from v.
How much RAM do you have? I did start it with the higher number, and let it run for a couple of hours... still no output.
So I checked free memory, and saw it going down bit-by-bit over time. That's what happens with recursive routines like you have.
However, Ctrl-C stopped it immediately, no problem.
So I tried running with different numbers.
With 30000, I saw
0187500302 :30000
real 0m3.528s
user 0m3.544s
sys 0m0.044s
With 50000, it got much worse... as it in has been running over an hour, and hasn't finished, yet.
$ time v run edigit.v 50000
^CTerminated by signal 2 (SIGINT)
real 79m28.884s
user 79m19.146s
sys 0m6.845s
$
Quite a jump from 3.5 minutes to 1 hour 19 1/2 minutes for only 20000 more...
from v.
Try v up
. It works for me on Manjaro with latest V:
...
6478007018 :24880
2766336227 :24890
9781045463 :24900
3113129404 :24910
4833570134 :24920
8695851652 :24930
6745951518 :24940
7680033395 :24950
5224105481 :24960
8176786777 :24970
2152798270 :24980
2501171958 :24990
1657760354 :25000
9 :25001[jalon@7950x ~]$
from v.
Hello,
i use the last version V 0.4.5 24af002.20fd795, I need to update again?
Thanks
from v.
In my arch linux, it's always a same problem
from v.
Latest V is
V 0.4.5 a1497c0
. Your version is from 3 weeks ago, and is 132 commits behind the current.Since V is still changing often, it is always best if you see an error to immediately do
v up
then check again. It may have already been fixed.
I launch "v up" 3x or 4x times by day, so it's strange ;)
from v.
250001
Please try with 250001 not
Try
v up
. It works for me on Manjaro with latest V:... 6478007018 :24880 2766336227 :24890 9781045463 :24900 3113129404 :24910 4833570134 :24920 8695851652 :24930 6745951518 :24940 7680033395 :24950 5224105481 :24960 8176786777 :24970 2152798270 :24980 2501171958 :24990 1657760354 :25000 9 :25001[jalon@7950x ~]$
Please try with 250001, on your capture you miss one 0
from v.
How much RAM do you have? I did start it with the higher number, and let it run for a couple of hours... still no output.
So I checked free memory, and saw it going down bit-by-bit over time. That's what happens with recursive routines like you have.
However, Ctrl-C stopped it immediately, no problem.
So I tried running with different numbers.
With 30000, I saw
0187500302 :30000 real 0m3.528s user 0m3.544s sys 0m0.044s
With 50000, it got much worse... as it in has been running over an hour, and hasn't finished, yet.
$ time v run edigit.v 50000 ^CTerminated by signal 2 (SIGINT) real 79m28.884s user 79m19.146s sys 0m6.845s $
Quite a jump from 3.5 seconds to 1 hour 19 1/2 minutes for only 20000 more...
I have 16G ram , but go version is executed instantly, see time
Executed in 234.57 millis fish external
usr time 230.67 millis 197.00 micros 230.47 millis
sys time 80.87 millis 59.00 micros 80.81 millis
You can check here ; https://programming-language-benchmarks.vercel.app/problem/edigits
from v.
Related Issues (20)
- anonymous struct embedding lacks checks
- How to obtain generic results using the following function? HOT 2
- string interpolation does not correctly reports pointer when used with maps
- carray_to_varray inside unsafe block warns about requiring an unsafe block
- Bug while practicing copying the concurrency examples
- C Error building lsv with -skip-unused
- cgen error in auto generated str() method of an enum with duplicate enum keys
- cgen error when trying to use enum key prematurely
- reverse bytes function HOT 3
- C error is constant used as enum value before it is defined
- When the length of the array exceeds 1073741824, it will cause the current thread to be in a blocked state HOT 8
- assert for no errors HOT 1
- Calling $veb.html() generates cgen error
- cant compile free standing type well can it HOT 2
- string split is buggy in 0.4.7
- Undocumented change in split behavior HOT 1
- C code compiling error HOT 5
- gg.Context.scroll_x/y and gg.Context.mouse_dx/y don't reset to 0
- C compilation error (from tcc) HOT 2
- Can't pass multiple values returned by a function to another function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v.