Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.HASKELL
how to be faster and less memory in this case?
From
meInvent bbird
@21:1/5 to
All
on Thu Jul 21 01:02:49 2016
*Main> let true3print = [(peval (replacewithoriginalformula (replacewithoriginalformula (fst (bb3true!!i)) bb2map) bb1map), isInfixOf "M8" (peval (replacewithoriginalformula (replacewithoriginalformula (fst (bb3true!!i)) bb2map) bb1map))) | i <- [0..(
99999-1)]]
*Main> let true3M8 = [ x | (x,True) <- true3print ]
*Main> true3M8
when it run, it used over 880MB memory and still increasing memory
i guess it need run in cloud, however cloud only has large memory
how about speed?
true3M8 is not a file
it load a very long time, can spark haskell help it faster? or spark haskell can only read file
i discover length a list also consume large memory and slow when data is large how to be faster?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Keyop
Sun May 22 22:47:14 2022
from
Huddersfield, West Yorkshire
via
Telnet
Guest
Mon May 23 18:23:12 2022
from
It
via
Telnet
Keyop
Wed May 25 18:11:15 2022
from
Huddersfield, West Yorkshire
via
Telnet
Nemo
Wed May 25 03:25:40 2022
from
Maryland
via
SSH
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
113
Nodes:
8 (
1
/
7
)
Uptime:
124:59:24
Calls:
2,501
Files:
8,692
Messages:
1,924,351